-removing bogus const
authorChristian Grothoff <christian@grothoff.org>
Tue, 29 May 2012 12:33:33 +0000 (12:33 +0000)
committerChristian Grothoff <christian@grothoff.org>
Tue, 29 May 2012 12:33:33 +0000 (12:33 +0000)
src/include/gnunet_transport_plugin.h
src/transport/gnunet-service-transport.c

index 6039809f79bef7c8c992400a2c4f516854048dff..d1e03d7c9ce6229bdc4cc7cd27b9793b1084207c 100644 (file)
@@ -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);
index 93fd0d685acd7957c6290e003da48c16c890b73b..c200cb55b02c0e828768ed1136484e8491113104 100644 (file)
@@ -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)