diff options
Diffstat (limited to 'src/experimentation/gnunet-daemon-experimentation_nodes.c')
-rw-r--r-- | src/experimentation/gnunet-daemon-experimentation_nodes.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/experimentation/gnunet-daemon-experimentation_nodes.c b/src/experimentation/gnunet-daemon-experimentation_nodes.c index 0590a1dec..14d25b6c9 100644 --- a/src/experimentation/gnunet-daemon-experimentation_nodes.c +++ b/src/experimentation/gnunet-daemon-experimentation_nodes.c | |||
@@ -172,21 +172,21 @@ static int is_me (const struct GNUNET_PeerIdentity *id) | |||
172 | * Core startup callback | 172 | * Core startup callback |
173 | * | 173 | * |
174 | * @param cls unused | 174 | * @param cls unused |
175 | * @param server core service's server handle | ||
176 | * @param my_identity my id | 175 | * @param my_identity my id |
177 | */ | 176 | */ |
178 | static void | 177 | static void |
179 | core_startup_handler (void *cls, | 178 | core_startup_handler (void *cls, |
180 | struct GNUNET_CORE_Handle *server, | ||
181 | const struct GNUNET_PeerIdentity *my_identity) | 179 | const struct GNUNET_PeerIdentity *my_identity) |
182 | { | 180 | { |
183 | me = *my_identity; | 181 | me = *my_identity; |
184 | } | 182 | } |
185 | 183 | ||
186 | void | 184 | |
185 | static void | ||
187 | schedule_transmisson (struct NodeComCtx *e_ctx); | 186 | schedule_transmisson (struct NodeComCtx *e_ctx); |
188 | 187 | ||
189 | size_t | 188 | |
189 | static size_t | ||
190 | transmit_read_wrapper (void *cls, size_t bufsize, void *buf) | 190 | transmit_read_wrapper (void *cls, size_t bufsize, void *buf) |
191 | { | 191 | { |
192 | struct NodeComCtx *e_ctx = cls; | 192 | struct NodeComCtx *e_ctx = cls; |
@@ -207,7 +207,8 @@ transmit_read_wrapper (void *cls, size_t bufsize, void *buf) | |||
207 | return res; | 207 | return res; |
208 | } | 208 | } |
209 | 209 | ||
210 | void | 210 | |
211 | static void | ||
211 | schedule_transmisson (struct NodeComCtx *e_ctx) | 212 | schedule_transmisson (struct NodeComCtx *e_ctx) |
212 | { | 213 | { |
213 | if (NULL != e_ctx->n->cth) | 214 | if (NULL != e_ctx->n->cth) |