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/vpn/vpn_api.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/vpn/vpn_api.c') diff --git a/src/vpn/vpn_api.c b/src/vpn/vpn_api.c index 208e56007..f3068f7c2 100644 --- a/src/vpn/vpn_api.c +++ b/src/vpn/vpn_api.c @@ -358,12 +358,10 @@ queue_request (struct GNUNET_VPN_RedirectionRequest *rr) /** * Connect to the VPN service and start again to transmit our requests. * - * @param cls the 'struct GNUNET_VPN_Handle *' - * @param tc scheduler context + * @param cls the `struct GNUNET_VPN_Handle *` */ static void -connect_task (void *cls, - const struct GNUNET_SCHEDULER_TaskContext *tc) +connect_task (void *cls) { struct GNUNET_VPN_Handle *vh = cls; -- cgit v1.2.3