aboutsummaryrefslogtreecommitdiff
path: root/src/transport/gnunet-service-transport_neighbours.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/gnunet-service-transport_neighbours.c')
-rw-r--r--src/transport/gnunet-service-transport_neighbours.c16
1 files changed, 4 insertions, 12 deletions
diff --git a/src/transport/gnunet-service-transport_neighbours.c b/src/transport/gnunet-service-transport_neighbours.c
index 0f1e86fe6..65428ef2a 100644
--- a/src/transport/gnunet-service-transport_neighbours.c
+++ b/src/transport/gnunet-service-transport_neighbours.c
@@ -695,11 +695,9 @@ free_address (struct NeighbourAddress *na)
695 * clean up after disconnect). 695 * clean up after disconnect).
696 * 696 *
697 * @param cls the `struct NeighbourMapEntry` for which we are running 697 * @param cls the `struct NeighbourMapEntry` for which we are running
698 * @param tc scheduler context (unused)
699 */ 698 */
700static void 699static void
701master_task (void *cls, 700master_task (void *cls);
702 const struct GNUNET_SCHEDULER_TaskContext *tc);
703 701
704 702
705/** 703/**
@@ -2814,11 +2812,9 @@ send_utilization_data (void *cls,
2814 * Task transmitting utilization in a regular interval 2812 * Task transmitting utilization in a regular interval
2815 * 2813 *
2816 * @param cls the 'struct NeighbourMapEntry' for which we are running 2814 * @param cls the 'struct NeighbourMapEntry' for which we are running
2817 * @param tc scheduler context (unused)
2818 */ 2815 */
2819static void 2816static void
2820utilization_transmission (void *cls, 2817utilization_transmission (void *cls)
2821 const struct GNUNET_SCHEDULER_TaskContext *tc)
2822{ 2818{
2823 util_transmission_tk = NULL; 2819 util_transmission_tk = NULL;
2824 GNUNET_CONTAINER_multipeermap_iterate (neighbours, 2820 GNUNET_CONTAINER_multipeermap_iterate (neighbours,
@@ -2883,11 +2879,9 @@ GST_neighbours_notify_data_sent (const struct GNUNET_HELLO_Address *address,
2883 * clean up after disconnect). 2879 * clean up after disconnect).
2884 * 2880 *
2885 * @param cls the 'struct NeighbourMapEntry' for which we are running 2881 * @param cls the 'struct NeighbourMapEntry' for which we are running
2886 * @param tc scheduler context (unused)
2887 */ 2882 */
2888static void 2883static void
2889master_task (void *cls, 2884master_task (void *cls)
2890 const struct GNUNET_SCHEDULER_TaskContext *tc)
2891{ 2885{
2892 struct NeighbourMapEntry *n = cls; 2886 struct NeighbourMapEntry *n = cls;
2893 struct GNUNET_TIME_Relative delay; 2887 struct GNUNET_TIME_Relative delay;
@@ -3448,11 +3442,9 @@ GST_neighbours_test_connected (const struct GNUNET_PeerIdentity *target)
3448 * Task to asynchronously run #free_neighbour(). 3442 * Task to asynchronously run #free_neighbour().
3449 * 3443 *
3450 * @param cls the `struct NeighbourMapEntry` to free 3444 * @param cls the `struct NeighbourMapEntry` to free
3451 * @param tc unused
3452 */ 3445 */
3453static void 3446static void
3454delayed_disconnect (void *cls, 3447delayed_disconnect (void *cls)
3455 const struct GNUNET_SCHEDULER_TaskContext* tc)
3456{ 3448{
3457 struct NeighbourMapEntry *n = cls; 3449 struct NeighbourMapEntry *n = cls;
3458 3450