diff options
Diffstat (limited to 'src/core/test_core_api_preferences.c')
-rw-r--r-- | src/core/test_core_api_preferences.c | 13 |
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; | |||
75 | static unsigned int total_reserve = 5; | 75 | static unsigned int total_reserve = 5; |
76 | 76 | ||
77 | 77 | ||
78 | static void process_hello (void *cls, | 78 | static void |
79 | const struct GNUNET_MessageHeader *message); | 79 | process_hello (void *cls, const struct GNUNET_MessageHeader *message); |
80 | 80 | ||
81 | static void | 81 | static void |
82 | terminate_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | 82 | terminate_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 | ||
154 | static void preference_cb (void *cls, const struct GNUNET_PeerIdentity *peer, | 154 | static void |
155 | struct GNUNET_BANDWIDTH_Value32NBO bandwidth_out, | 155 | preference_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 | ||
160 | static void | 159 | static void |
161 | do_reserve (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | 160 | do_reserve (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) |