aboutsummaryrefslogtreecommitdiff
path: root/src/testbed/gnunet-service-testbed_connectionpool.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testbed/gnunet-service-testbed_connectionpool.c')
-rw-r--r--src/testbed/gnunet-service-testbed_connectionpool.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/testbed/gnunet-service-testbed_connectionpool.c b/src/testbed/gnunet-service-testbed_connectionpool.c
index e06538ac7..0fa2a6456 100644
--- a/src/testbed/gnunet-service-testbed_connectionpool.c
+++ b/src/testbed/gnunet-service-testbed_connectionpool.c
@@ -333,11 +333,9 @@ destroy_pooled_connection (struct PooledConnection *entry)
333 * Expire a #PooledConnection object 333 * Expire a #PooledConnection object
334 * 334 *
335 * @param cls the #PooledConnection object 335 * @param cls the #PooledConnection object
336 * @param tc scheduler task context
337 */ 336 */
338static void 337static void
339expire (void *cls, 338expire (void *cls)
340 const struct GNUNET_SCHEDULER_TaskContext *tc)
341{ 339{
342 struct PooledConnection *entry = cls; 340 struct PooledConnection *entry = cls;
343 341
@@ -429,10 +427,9 @@ search_waiting (const struct PooledConnection *entry,
429 * further schedules itself if there are similar waiting objects which can be notified. 427 * further schedules itself if there are similar waiting objects which can be notified.
430 * 428 *
431 * @param cls the #PooledConnection object 429 * @param cls the #PooledConnection object
432 * @param tc the task context from scheduler
433 */ 430 */
434static void 431static void
435connection_ready (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) 432connection_ready (void *cls)
436{ 433{
437 struct PooledConnection *entry = cls; 434 struct PooledConnection *entry = cls;
438 struct GST_ConnectionPool_GetHandle *gh; 435 struct GST_ConnectionPool_GetHandle *gh;