aboutsummaryrefslogtreecommitdiff
path: root/src/mesh/mesh_api.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/mesh/mesh_api.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/mesh/mesh_api.c')
-rw-r--r--src/mesh/mesh_api.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesh/mesh_api.c b/src/mesh/mesh_api.c
index c1875854e..81260c81f 100644
--- a/src/mesh/mesh_api.c
+++ b/src/mesh/mesh_api.c
@@ -164,9 +164,9 @@ call_connect_handler (void *cls,
164 164
165static void 165static void
166core_startup (void *cls, 166core_startup (void *cls,
167 struct GNUNET_CORE_Handle *core, 167 struct GNUNET_CORE_Handle *core __attribute__((unused)),
168 const struct GNUNET_PeerIdentity *my_identity, 168 const struct GNUNET_PeerIdentity *my_identity,
169 const struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded *publicKey) 169 const struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded *publicKey __attribute__((unused)))
170{ 170{
171 struct GNUNET_MESH_Handle *handle = cls; 171 struct GNUNET_MESH_Handle *handle = cls;
172 memcpy (&handle->myself, my_identity, sizeof (struct GNUNET_PeerIdentity)); 172 memcpy (&handle->myself, my_identity, sizeof (struct GNUNET_PeerIdentity));
@@ -620,7 +620,7 @@ GNUNET_MESH_notify_transmit_ready (struct
620 struct 620 struct
621 GNUNET_TIME_Relative 621 GNUNET_TIME_Relative
622 maxdelay, 622 maxdelay,
623 const struct GNUNET_PeerIdentity *target, 623 const struct GNUNET_PeerIdentity *target __attribute__((unused)),
624 size_t 624 size_t
625 notify_size, 625 notify_size,
626 GNUNET_CONNECTION_TransmitReadyNotify 626 GNUNET_CONNECTION_TransmitReadyNotify