- compile error
authorMatthias Wachs <wachs@net.in.tum.de>
Wed, 25 Apr 2012 07:09:55 +0000 (07:09 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Wed, 25 Apr 2012 07:09:55 +0000 (07:09 +0000)
src/ats/ats_api_scheduling.c
src/include/gnunet_ats_service.h

index ddb4f41c89631a2a8585217630b3694c51c13080..eef0fa922343d0e3a2016e22c9b5b0414277b741 100644 (file)
@@ -761,7 +761,7 @@ get_addresses (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
  * @return location as GNUNET_ATS_Information
  */
 
-const struct GNUNET_ATS_Information
+struct GNUNET_ATS_Information
 GNUNET_ATS_address_get_type (struct GNUNET_ATS_SchedulingHandle * sh, const struct sockaddr * addr, socklen_t addrlen)
 {
   GNUNET_assert (sh != NULL);
index 858ae1da5336e1f58b31fa3dc12ece092eca9482..0ee3d553508494abf40e538de98b709654141f3a 100644 (file)
@@ -552,7 +552,7 @@ GNUNET_ATS_suggest_address_cancel (struct GNUNET_ATS_SchedulingHandle *sh,
  * @param addrlen address length
  * @return location as GNUNET_ATS_Information
  */
-const struct GNUNET_ATS_Information
+struct GNUNET_ATS_Information
 GNUNET_ATS_address_get_type (struct GNUNET_ATS_SchedulingHandle *sh,
                              const struct sockaddr * addr,
                              socklen_t addrlen);