aboutsummaryrefslogtreecommitdiff
path: root/src/core/test_core_api_preferences.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/test_core_api_preferences.c')
-rw-r--r--src/core/test_core_api_preferences.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/core/test_core_api_preferences.c b/src/core/test_core_api_preferences.c
index e5d5deb1b..8bc977df2 100644
--- a/src/core/test_core_api_preferences.c
+++ b/src/core/test_core_api_preferences.c
@@ -75,8 +75,8 @@ static GNUNET_SCHEDULER_TaskIdentifier ask_task;
75static unsigned int total_reserve = 5; 75static unsigned int total_reserve = 5;
76 76
77 77
78static void process_hello (void *cls, 78static void
79 const struct GNUNET_MessageHeader *message); 79process_hello (void *cls, const struct GNUNET_MessageHeader *message);
80 80
81static void 81static void
82terminate_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) 82terminate_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
@@ -151,11 +151,10 @@ transmit_ready (void *cls, size_t size, void *buf)
151 return sizeof (struct GNUNET_MessageHeader); 151 return sizeof (struct GNUNET_MessageHeader);
152} 152}
153 153
154static void preference_cb (void *cls, const struct GNUNET_PeerIdentity *peer, 154static void
155 struct GNUNET_BANDWIDTH_Value32NBO bandwidth_out, 155preference_cb (void *cls, const struct GNUNET_PeerIdentity *peer,
156 int32_t amount, 156 struct GNUNET_BANDWIDTH_Value32NBO bandwidth_out, int32_t amount,
157 struct GNUNET_TIME_Relative res_delay, 157 struct GNUNET_TIME_Relative res_delay, uint64_t preference);
158 uint64_t preference);
159 158
160static void 159static void
161do_reserve (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) 160do_reserve (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)