From 699f6c4038829f8dc621ef9aacba27fb84037155 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 29 May 2012 12:33:33 +0000 Subject: [PATCH] -removing bogus const --- src/include/gnunet_transport_plugin.h | 2 +- src/transport/gnunet-service-transport.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/include/gnunet_transport_plugin.h b/src/include/gnunet_transport_plugin.h index 6039809f7..d1e03d7c9 100644 --- a/src/include/gnunet_transport_plugin.h +++ b/src/include/gnunet_transport_plugin.h @@ -136,7 +136,7 @@ typedef struct * @param addrlen length of the address * @return ATS Information containing the network type */ -typedef const struct GNUNET_ATS_Information +typedef struct GNUNET_ATS_Information (*GNUNET_TRANSPORT_AddressToType) (void *cls, const struct sockaddr *addr, size_t addrlen); diff --git a/src/transport/gnunet-service-transport.c b/src/transport/gnunet-service-transport.c index 93fd0d685..c200cb55b 100644 --- a/src/transport/gnunet-service-transport.c +++ b/src/transport/gnunet-service-transport.c @@ -371,7 +371,7 @@ plugin_env_session_end (void *cls, const struct GNUNET_PeerIdentity *peer, * @param addrlen length of the address * @return ATS Information containing the network type */ -static const struct GNUNET_ATS_Information +static struct GNUNET_ATS_Information plugin_env_address_to_type (void *cls, const struct sockaddr *addr, size_t addrlen) -- 2.25.1