aboutsummaryrefslogtreecommitdiff
path: root/src/ats/gnunet-service-ats_normalization.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2014-04-23 15:45:17 +0000
committerChristian Grothoff <christian@grothoff.org>2014-04-23 15:45:17 +0000
commit62d484942e7d01314972d25b93aa7b1ba50e3add (patch)
treee7f6d28634b79fff39a4e9d452e22cd281dc4c31 /src/ats/gnunet-service-ats_normalization.h
parentb1e870d2978eb237e8a4ebf698b314db02cfefb4 (diff)
downloadgnunet-62d484942e7d01314972d25b93aa7b1ba50e3add.tar.gz
gnunet-62d484942e7d01314972d25b93aa7b1ba50e3add.zip
-fix compiler warning: do not return const double
Diffstat (limited to 'src/ats/gnunet-service-ats_normalization.h')
-rw-r--r--src/ats/gnunet-service-ats_normalization.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/ats/gnunet-service-ats_normalization.h b/src/ats/gnunet-service-ats_normalization.h
index f12c39fe1..0a4625ab4 100644
--- a/src/ats/gnunet-service-ats_normalization.h
+++ b/src/ats/gnunet-service-ats_normalization.h
@@ -48,6 +48,7 @@ typedef void
48 uint32_t type, 48 uint32_t type,
49 double prop_rel); 49 double prop_rel);
50 50
51
51/** 52/**
52 * Get the normalized preference values for a specific peer 53 * Get the normalized preference values for a specific peer
53 * 54 *
@@ -78,9 +79,10 @@ GAS_normalization_get_properties (struct ATS_Address *address);
78 * @param pref the preference type 79 * @param pref the preference type
79 * @return the value 80 * @return the value
80 */ 81 */
81const double 82double
82GAS_normalization_get_preferences_by_client (const void *client, 83GAS_normalization_get_preferences_by_client (const void *client,
83 struct GNUNET_PeerIdentity *peer, enum GNUNET_ATS_PreferenceKind pref); 84 const struct GNUNET_PeerIdentity *peer,
85 enum GNUNET_ATS_PreferenceKind pref);
84 86
85/** 87/**
86 * Normalize an updated preference value 88 * Normalize an updated preference value
@@ -119,6 +121,7 @@ GAS_normalization_normalize_property (struct GNUNET_CONTAINER_MultiPeerMap *addr
119void 121void
120GAS_normalization_preference_client_disconnect (void *client); 122GAS_normalization_preference_client_disconnect (void *client);
121 123
124
122/** 125/**
123 * Start the normalization component 126 * Start the normalization component
124 * 127 *