From 65ee53cbf528c5187186f0da4848df7c8c873b87 Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Tue, 19 Nov 2013 15:23:58 +0000 Subject: [PATCH] - api fix --- src/mesh/gnunet-service-mesh_channel.c | 9 --------- src/mesh/gnunet-service-mesh_channel.h | 8 ++++++++ src/mesh/gnunet-service-mesh_tunnel.c | 1 - 3 files changed, 8 insertions(+), 10 deletions(-) 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); - } -- 2.25.1