diff options
Diffstat (limited to 'src/psycstore')
-rw-r--r-- | src/psycstore/gnunet-service-psycstore.c | 5 | ||||
-rw-r--r-- | src/psycstore/psycstore_api.c | 6 | ||||
-rw-r--r-- | src/psycstore/test_psycstore.c | 6 |
3 files changed, 6 insertions, 11 deletions
diff --git a/src/psycstore/gnunet-service-psycstore.c b/src/psycstore/gnunet-service-psycstore.c index ae108fc4d..737cff422 100644 --- a/src/psycstore/gnunet-service-psycstore.c +++ b/src/psycstore/gnunet-service-psycstore.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* | 1 | /** |
2 | * This file is part of GNUnet | 2 | * This file is part of GNUnet |
3 | * Copyright (C) 2013 GNUnet e.V. | 3 | * Copyright (C) 2013 GNUnet e.V. |
4 | * | 4 | * |
@@ -68,10 +68,9 @@ static char *db_lib_name; | |||
68 | * Task run during shutdown. | 68 | * Task run during shutdown. |
69 | * | 69 | * |
70 | * @param cls unused | 70 | * @param cls unused |
71 | * @param tc unused | ||
72 | */ | 71 | */ |
73 | static void | 72 | static void |
74 | shutdown_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | 73 | shutdown_task (void *cls) |
75 | { | 74 | { |
76 | if (NULL != nc) | 75 | if (NULL != nc) |
77 | { | 76 | { |
diff --git a/src/psycstore/psycstore_api.c b/src/psycstore/psycstore_api.c index b729d7440..b8f00a41c 100644 --- a/src/psycstore/psycstore_api.c +++ b/src/psycstore/psycstore_api.c | |||
@@ -186,10 +186,9 @@ find_op_by_id (struct GNUNET_PSYCSTORE_Handle *h, uint64_t op_id) | |||
186 | * Try again to connect to the PSYCstore service. | 186 | * Try again to connect to the PSYCstore service. |
187 | * | 187 | * |
188 | * @param cls handle to the PSYCstore service. | 188 | * @param cls handle to the PSYCstore service. |
189 | * @param tc scheduler context | ||
190 | */ | 189 | */ |
191 | static void | 190 | static void |
192 | reconnect (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc); | 191 | reconnect (void *cls); |
193 | 192 | ||
194 | 193 | ||
195 | /** | 194 | /** |
@@ -531,10 +530,9 @@ transmit_next (struct GNUNET_PSYCSTORE_Handle *h) | |||
531 | * Try again to connect to the PSYCstore service. | 530 | * Try again to connect to the PSYCstore service. |
532 | * | 531 | * |
533 | * @param cls Handle to the PSYCstore service. | 532 | * @param cls Handle to the PSYCstore service. |
534 | * @param tc Scheduler context. | ||
535 | */ | 533 | */ |
536 | static void | 534 | static void |
537 | reconnect (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | 535 | reconnect (void *cls) |
538 | { | 536 | { |
539 | struct GNUNET_PSYCSTORE_Handle *h = cls; | 537 | struct GNUNET_PSYCSTORE_Handle *h = cls; |
540 | 538 | ||
diff --git a/src/psycstore/test_psycstore.c b/src/psycstore/test_psycstore.c index b0ae3b924..266ee5c1d 100644 --- a/src/psycstore/test_psycstore.c +++ b/src/psycstore/test_psycstore.c | |||
@@ -113,10 +113,9 @@ cleanup () | |||
113 | * Terminate the testcase (failure). | 113 | * Terminate the testcase (failure). |
114 | * | 114 | * |
115 | * @param cls NULL | 115 | * @param cls NULL |
116 | * @param tc scheduler context | ||
117 | */ | 116 | */ |
118 | static void | 117 | static void |
119 | end_badly (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | 118 | end_badly (void *cls) |
120 | { | 119 | { |
121 | res = 1; | 120 | res = 1; |
122 | cleanup (); | 121 | cleanup (); |
@@ -127,10 +126,9 @@ end_badly (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
127 | * Terminate the testcase (success). | 126 | * Terminate the testcase (success). |
128 | * | 127 | * |
129 | * @param cls NULL | 128 | * @param cls NULL |
130 | * @param tc scheduler context | ||
131 | */ | 129 | */ |
132 | static void | 130 | static void |
133 | end_normally (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | 131 | end_normally (void *cls) |
134 | { | 132 | { |
135 | res = 0; | 133 | res = 0; |
136 | cleanup (); | 134 | cleanup (); |