diff options
Diffstat (limited to 'src/pt/test_gnunet_vpn.c')
-rw-r--r-- | src/pt/test_gnunet_vpn.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/pt/test_gnunet_vpn.c b/src/pt/test_gnunet_vpn.c index b5bc1395b..85b28fbf8 100644 --- a/src/pt/test_gnunet_vpn.c +++ b/src/pt/test_gnunet_vpn.c | |||
@@ -171,8 +171,7 @@ do_shutdown () | |||
171 | * Function to run the HTTP client. | 171 | * Function to run the HTTP client. |
172 | */ | 172 | */ |
173 | static void | 173 | static void |
174 | curl_main (void *cls, | 174 | curl_main (void *cls) |
175 | const struct GNUNET_SCHEDULER_TaskContext *tc) | ||
176 | { | 175 | { |
177 | fd_set rs; | 176 | fd_set rs; |
178 | fd_set ws; | 177 | fd_set ws; |
@@ -304,7 +303,7 @@ mhd_main (void); | |||
304 | 303 | ||
305 | 304 | ||
306 | static void | 305 | static void |
307 | mhd_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | 306 | mhd_task (void *cls) |
308 | { | 307 | { |
309 | mhd_task_id = NULL; | 308 | mhd_task_id = NULL; |
310 | MHD_run (mhd); | 309 | MHD_run (mhd); |
@@ -313,7 +312,7 @@ mhd_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
313 | 312 | ||
314 | 313 | ||
315 | static void | 314 | static void |
316 | ctrl_c_shutdown (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | 315 | ctrl_c_shutdown (void *cls) |
317 | { | 316 | { |
318 | ctrl_c_task_id = NULL; | 317 | ctrl_c_task_id = NULL; |
319 | do_shutdown (); | 318 | do_shutdown (); |