aboutsummaryrefslogtreecommitdiff
path: root/src/testing/test_testing_peerstartup2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testing/test_testing_peerstartup2.c')
-rw-r--r--src/testing/test_testing_peerstartup2.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/testing/test_testing_peerstartup2.c b/src/testing/test_testing_peerstartup2.c
index edbd24df0..fd46e5c3e 100644
--- a/src/testing/test_testing_peerstartup2.c
+++ b/src/testing/test_testing_peerstartup2.c
@@ -83,7 +83,7 @@ struct TestingContext
83 83
84 84
85static void 85static void
86do_shutdown2 (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) 86do_shutdown2 (void *cls)
87{ 87{
88 struct TestingContext *test_ctx = cls; 88 struct TestingContext *test_ctx = cls;
89 89
@@ -102,10 +102,9 @@ do_shutdown2 (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
102 * Task for shutdown 102 * Task for shutdown
103 * 103 *
104 * @param cls the testing context 104 * @param cls the testing context
105 * @param tc the tast context
106 */ 105 */
107static void 106static void
108do_shutdown (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc); 107do_shutdown (void *cls);
109 108
110 109
111static void 110static void
@@ -133,10 +132,9 @@ peer_status_cb (void *cls, struct GNUNET_TESTING_Peer *peer, int success)
133 * Task for shutdown 132 * Task for shutdown
134 * 133 *
135 * @param cls the testing context 134 * @param cls the testing context
136 * @param tc the tast context
137 */ 135 */
138static void 136static void
139do_shutdown (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) 137do_shutdown (void *cls)
140{ 138{
141 struct TestingContext *test_ctx = cls; 139 struct TestingContext *test_ctx = cls;
142 140
@@ -149,7 +147,7 @@ do_shutdown (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
149 test_ctx)); 147 test_ctx));
150 } 148 }
151 else 149 else
152 do_shutdown2 (test_ctx, tc); 150 do_shutdown2 (test_ctx);
153} 151}
154 152
155 153