diff options
Diffstat (limited to 'src/testbed/gnunet-service-testbed_links.c')
-rw-r--r-- | src/testbed/gnunet-service-testbed_links.c | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/src/testbed/gnunet-service-testbed_links.c b/src/testbed/gnunet-service-testbed_links.c index 9fbc3197e..a2692e8a6 100644 --- a/src/testbed/gnunet-service-testbed_links.c +++ b/src/testbed/gnunet-service-testbed_links.c | |||
@@ -585,10 +585,9 @@ send_controller_link_response (struct GNUNET_SERVER_Client *client, | |||
585 | * The Link Controller forwarding task | 585 | * The Link Controller forwarding task |
586 | * | 586 | * |
587 | * @param cls the LCFContext | 587 | * @param cls the LCFContext |
588 | * @param tc the Task context from scheduler | ||
589 | */ | 588 | */ |
590 | static void | 589 | static void |
591 | lcf_proc_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc); | 590 | lcf_proc_task (void *cls); |
592 | 591 | ||
593 | 592 | ||
594 | /** | 593 | /** |
@@ -634,21 +633,18 @@ registration_error: | |||
634 | * The Link Controller forwarding task | 633 | * The Link Controller forwarding task |
635 | * | 634 | * |
636 | * @param cls the LCFContext | 635 | * @param cls the LCFContext |
637 | * @param tc the Task context from scheduler | ||
638 | */ | 636 | */ |
639 | static void | 637 | static void |
640 | lcf_proc_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc); | 638 | lcf_proc_task (void *cls); |
641 | 639 | ||
642 | 640 | ||
643 | /** | 641 | /** |
644 | * Task to free resources when forwarded link controllers has been timedout | 642 | * Task to free resources when forwarded link controllers has been timedout |
645 | * | 643 | * |
646 | * @param cls the LCFContext | 644 | * @param cls the LCFContext |
647 | * @param tc the task context from scheduler | ||
648 | */ | 645 | */ |
649 | static void | 646 | static void |
650 | lcf_forwarded_operation_timeout (void *cls, | 647 | lcf_forwarded_operation_timeout (void *cls) |
651 | const struct GNUNET_SCHEDULER_TaskContext *tc) | ||
652 | { | 648 | { |
653 | struct LCFContext *lcf = cls; | 649 | struct LCFContext *lcf = cls; |
654 | 650 | ||
@@ -668,10 +664,9 @@ lcf_forwarded_operation_timeout (void *cls, | |||
668 | * The Link Controller forwarding task | 664 | * The Link Controller forwarding task |
669 | * | 665 | * |
670 | * @param cls the LCFContext | 666 | * @param cls the LCFContext |
671 | * @param tc the Task context from scheduler | ||
672 | */ | 667 | */ |
673 | static void | 668 | static void |
674 | lcf_proc_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | 669 | lcf_proc_task (void *cls) |
675 | { | 670 | { |
676 | struct LCFContext *lcf = cls; | 671 | struct LCFContext *lcf = cls; |
677 | struct LCFContextQueue *lcfq; | 672 | struct LCFContextQueue *lcfq; |
@@ -852,11 +847,9 @@ trigger_notifications (struct Neighbour *n); | |||
852 | * neighbour | 847 | * neighbour |
853 | * | 848 | * |
854 | * @param cls the neighbour | 849 | * @param cls the neighbour |
855 | * @param tc scheduler task context | ||
856 | */ | 850 | */ |
857 | static void | 851 | static void |
858 | neighbour_connect_notify_task (void *cls, | 852 | neighbour_connect_notify_task (void *cls) |
859 | const struct GNUNET_SCHEDULER_TaskContext *tc) | ||
860 | { | 853 | { |
861 | struct Neighbour *n = cls; | 854 | struct Neighbour *n = cls; |
862 | struct NeighbourConnectNotification *h; | 855 | struct NeighbourConnectNotification *h; |
@@ -1118,11 +1111,9 @@ GST_free_nccq () | |||
1118 | * Task to be run upon timeout while attempting to connect to the neighbour | 1111 | * Task to be run upon timeout while attempting to connect to the neighbour |
1119 | * | 1112 | * |
1120 | * @param cls the NeighbourConnectCtxt created in GST_handle_link_controllers() | 1113 | * @param cls the NeighbourConnectCtxt created in GST_handle_link_controllers() |
1121 | * @param tc the scheduler task context | ||
1122 | */ | 1114 | */ |
1123 | static void | 1115 | static void |
1124 | timeout_neighbour_connect (void *cls, | 1116 | timeout_neighbour_connect (void *cls) |
1125 | const struct GNUNET_SCHEDULER_TaskContext *tc) | ||
1126 | { | 1117 | { |
1127 | struct NeighbourConnectCtxt *ncc = cls; | 1118 | struct NeighbourConnectCtxt *ncc = cls; |
1128 | 1119 | ||