From 29e6158507a0758192075ac6ece7ba8e75ddc49a Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 9 Apr 2016 23:14:03 +0000 Subject: small API change: do no longer pass rarely needed GNUNET_SCHEDULER_TaskContext to all scheduler tasks; instead, allow the relatively few tasks that need it to obtain the context via GNUNET_SCHEDULER_get_task_context() --- src/regex/test_regex_api.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/regex/test_regex_api.c') diff --git a/src/regex/test_regex_api.c b/src/regex/test_regex_api.c index ab387d755..01f455854 100644 --- a/src/regex/test_regex_api.c +++ b/src/regex/test_regex_api.c @@ -45,12 +45,11 @@ static struct GNUNET_REGEX_Search *s; static int ok = 1; -static struct GNUNET_SCHEDULER_Task * die_task; +static struct GNUNET_SCHEDULER_Task *die_task; static void -end (void *cls, - const struct GNUNET_SCHEDULER_TaskContext *tc) +end (void *cls) { die_task = NULL; GNUNET_REGEX_announce_cancel (a); -- cgit v1.2.3