diff options
Diffstat (limited to 'src/dht/test_dht_api.c')
-rw-r--r-- | src/dht/test_dht_api.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/dht/test_dht_api.c b/src/dht/test_dht_api.c index b2d31d02f..2507ff080 100644 --- a/src/dht/test_dht_api.c +++ b/src/dht/test_dht_api.c | |||
@@ -82,7 +82,7 @@ static struct GNUNET_SCHEDULER_Task * die_task; | |||
82 | 82 | ||
83 | 83 | ||
84 | static void | 84 | static void |
85 | end (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | 85 | end (void *cls) |
86 | { | 86 | { |
87 | GNUNET_SCHEDULER_cancel (die_task); | 87 | GNUNET_SCHEDULER_cancel (die_task); |
88 | die_task = NULL; | 88 | die_task = NULL; |
@@ -116,11 +116,9 @@ end_badly () | |||
116 | * Signature of the main function of a task. | 116 | * Signature of the main function of a task. |
117 | * | 117 | * |
118 | * @param cls closure | 118 | * @param cls closure |
119 | * @param tc context information (why was this task triggered now) | ||
120 | */ | 119 | */ |
121 | static void | 120 | static void |
122 | test_get_stop (void *cls, | 121 | test_get_stop (void *cls) |
123 | const struct GNUNET_SCHEDULER_TaskContext *tc) | ||
124 | { | 122 | { |
125 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 123 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
126 | "Called test_get_stop!\n"); | 124 | "Called test_get_stop!\n"); |