From: Bart Polot Date: Tue, 19 Nov 2013 15:23:58 +0000 (+0000) Subject: - api fix X-Git-Tag: initial-import-from-subversion-38251~5999 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=65ee53cbf528c5187186f0da4848df7c8c873b87;p=oweals%2Fgnunet.git - api fix --- diff --git a/src/mesh/gnunet-service-mesh_channel.c b/src/mesh/gnunet-service-mesh_channel.c index 45c8c6044..92e345cb8 100644 --- a/src/mesh/gnunet-service-mesh_channel.c +++ b/src/mesh/gnunet-service-mesh_channel.c @@ -971,15 +971,6 @@ handle_loopback (struct MeshChannel *ch, /******************************** API ***********************************/ /******************************************************************************/ - -/** - * Destroy a channel and free all resources. - * - * @param ch Channel to destroy. - */ -void -GMCH_destroy (struct MeshChannel *ch); - /** * Destroy a channel and free all resources. * diff --git a/src/mesh/gnunet-service-mesh_channel.h b/src/mesh/gnunet-service-mesh_channel.h index 66b203192..346cfcad5 100644 --- a/src/mesh/gnunet-service-mesh_channel.h +++ b/src/mesh/gnunet-service-mesh_channel.h @@ -53,6 +53,14 @@ struct MeshChannel; #include "gnunet-service-mesh_local.h" +/** + * Destroy a channel and free all resources. + * + * @param ch Channel to destroy. + */ +void +GMCH_destroy (struct MeshChannel *ch); + /** * Get channel ID. * diff --git a/src/mesh/gnunet-service-mesh_tunnel.c b/src/mesh/gnunet-service-mesh_tunnel.c index a395141f7..32b384fdd 100644 --- a/src/mesh/gnunet-service-mesh_tunnel.c +++ b/src/mesh/gnunet-service-mesh_tunnel.c @@ -1673,7 +1673,6 @@ GMT_destroy (struct MeshTunnel3 *t) GNUNET_SCHEDULER_cancel (t->rekey_task); GNUNET_free (t); - }