diff options
author | Philipp Tölke <toelke@in.tum.de> | 2011-06-15 07:15:39 +0000 |
---|---|---|
committer | Philipp Tölke <toelke@in.tum.de> | 2011-06-15 07:15:39 +0000 |
commit | 238b4ac9407e047a7a2d6f0c951e70ef6e400d82 (patch) | |
tree | 6ed40257e05d95ea3c8003e727101f035169bb11 /src/vpn/gnunet-helper-vpn-api.h | |
parent | 36ae035929059eccda334bdecdcc774d7e0f3496 (diff) | |
download | gnunet-238b4ac9407e047a7a2d6f0c951e70ef6e400d82.tar.gz gnunet-238b4ac9407e047a7a2d6f0c951e70ef6e400d82.zip |
fix bugs found by compiling with -Wextra
Diffstat (limited to 'src/vpn/gnunet-helper-vpn-api.h')
-rw-r--r-- | src/vpn/gnunet-helper-vpn-api.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/vpn/gnunet-helper-vpn-api.h b/src/vpn/gnunet-helper-vpn-api.h index 00eb7db62..4e8f76611 100644 --- a/src/vpn/gnunet-helper-vpn-api.h +++ b/src/vpn/gnunet-helper-vpn-api.h | |||
@@ -92,7 +92,6 @@ struct GNUNET_VPN_HELPER_Handle | |||
92 | * @param restart_task The task called when the helper dies. Will be called with the handle as cls | 92 | * @param restart_task The task called when the helper dies. Will be called with the handle as cls |
93 | * @param cb A callback for messages from the helper | 93 | * @param cb A callback for messages from the helper |
94 | * @param cb_cls Closure for the callback | 94 | * @param cb_cls Closure for the callback |
95 | * @param client client_name for the callback | ||
96 | * | 95 | * |
97 | * @return A pointer to the new Handle, NULL on error | 96 | * @return A pointer to the new Handle, NULL on error |
98 | */ | 97 | */ |
@@ -105,8 +104,7 @@ struct GNUNET_VPN_HELPER_Handle *start_helper (const char *ifname, | |||
105 | GNUNET_SCHEDULER_Task | 104 | GNUNET_SCHEDULER_Task |
106 | restart_task, | 105 | restart_task, |
107 | GNUNET_SERVER_MessageTokenizerCallback | 106 | GNUNET_SERVER_MessageTokenizerCallback |
108 | cb, void *cb_cls, | 107 | cb, void *cb_cls); |
109 | void *client); | ||
110 | 108 | ||
111 | /** | 109 | /** |
112 | * @brief Kills the helper, closes the pipe and free()s the handle | 110 | * @brief Kills the helper, closes the pipe and free()s the handle |