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/nse/nse_api.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/nse/nse_api.c') diff --git a/src/nse/nse_api.c b/src/nse/nse_api.c index 2c1260047..a42dcb369 100644 --- a/src/nse/nse_api.c +++ b/src/nse/nse_api.c @@ -81,10 +81,9 @@ struct GNUNET_NSE_Handle * Try again to connect to network size estimation service. * * @param cls the handle to the transport service - * @param tc scheduler context */ static void -reconnect (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc); +reconnect (void *cls); /** @@ -198,11 +197,9 @@ send_start (void *cls, size_t size, void *buf) * Try again to connect to network size estimation service. * * @param cls the `struct GNUNET_NSE_Handle *` - * @param tc scheduler context */ static void -reconnect (void *cls, - const struct GNUNET_SCHEDULER_TaskContext *tc) +reconnect (void *cls) { struct GNUNET_NSE_Handle *h = cls; -- cgit v1.2.3