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/rps/gnunet-rps.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/rps/gnunet-rps.c') diff --git a/src/rps/gnunet-rps.c b/src/rps/gnunet-rps.c index 23516b626..01be2aeb3 100644 --- a/src/rps/gnunet-rps.c +++ b/src/rps/gnunet-rps.c @@ -92,11 +92,9 @@ GNUNET_GETOPT_set_peerid (struct GNUNET_GETOPT_CommandLineProcessorContext *ctx, * Cancels pending request and disconnects. * * @param cls NULL - * @param tc scheduler context */ static void -do_shutdown (void *cls, - const struct GNUNET_SCHEDULER_TaskContext *tc) +do_shutdown (void *cls) { shutdown_task = NULL; if (NULL != req_handle) -- cgit v1.2.3