aboutsummaryrefslogtreecommitdiff
path: root/src/vpn/gnunet-daemon-vpn-helper.c
diff options
context:
space:
mode:
authorPhilipp Tölke <toelke@in.tum.de>2011-06-15 07:15:40 +0000
committerPhilipp Tölke <toelke@in.tum.de>2011-06-15 07:15:40 +0000
commite300436fe55b9d9c359fb99f5fbe9391150fddd0 (patch)
treec36eb28d294bcd57f7176721257536ee51f5a0ee /src/vpn/gnunet-daemon-vpn-helper.c
parent238b4ac9407e047a7a2d6f0c951e70ef6e400d82 (diff)
downloadgnunet-e300436fe55b9d9c359fb99f5fbe9391150fddd0.tar.gz
gnunet-e300436fe55b9d9c359fb99f5fbe9391150fddd0.zip
Stop gcc from treating unused arguments as error when compiling with -Wextra
Diffstat (limited to 'src/vpn/gnunet-daemon-vpn-helper.c')
-rw-r--r--src/vpn/gnunet-daemon-vpn-helper.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vpn/gnunet-daemon-vpn-helper.c b/src/vpn/gnunet-daemon-vpn-helper.c
index 100f08c97..b2119ecbb 100644
--- a/src/vpn/gnunet-daemon-vpn-helper.c
+++ b/src/vpn/gnunet-daemon-vpn-helper.c
@@ -132,7 +132,7 @@ start_helper_and_schedule(void *cls,
132 * Send an dns-answer-packet to the helper 132 * Send an dns-answer-packet to the helper
133 */ 133 */
134void 134void
135helper_write(void* cls, const struct GNUNET_SCHEDULER_TaskContext* tsdkctx) { 135helper_write(void* cls __attribute__((unused)), const struct GNUNET_SCHEDULER_TaskContext* tsdkctx) {
136 if (tsdkctx->reason & GNUNET_SCHEDULER_REASON_SHUTDOWN) 136 if (tsdkctx->reason & GNUNET_SCHEDULER_REASON_SHUTDOWN)
137 return; 137 return;
138 138
@@ -205,8 +205,8 @@ helper_write(void* cls, const struct GNUNET_SCHEDULER_TaskContext* tsdkctx) {
205 * Receive packets from the helper-process 205 * Receive packets from the helper-process
206 */ 206 */
207void 207void
208message_token (void *cls, 208message_token (void *cls __attribute__((unused)),
209 void *client, const struct GNUNET_MessageHeader *message) 209 void *client __attribute__((unused)), const struct GNUNET_MessageHeader *message)
210{ 210{
211 GNUNET_assert (ntohs (message->type) == GNUNET_MESSAGE_TYPE_VPN_HELPER); 211 GNUNET_assert (ntohs (message->type) == GNUNET_MESSAGE_TYPE_VPN_HELPER);
212 212