diff options
Diffstat (limited to 'src/namestore/gnunet-namestore-fcfsd.c')
-rw-r--r-- | src/namestore/gnunet-namestore-fcfsd.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/src/namestore/gnunet-namestore-fcfsd.c b/src/namestore/gnunet-namestore-fcfsd.c index b00510ae7..82d73f6de 100644 --- a/src/namestore/gnunet-namestore-fcfsd.c +++ b/src/namestore/gnunet-namestore-fcfsd.c | |||
@@ -226,11 +226,9 @@ static unsigned long long port; | |||
226 | * Task run whenever HTTP server operations are pending. | 226 | * Task run whenever HTTP server operations are pending. |
227 | * | 227 | * |
228 | * @param cls unused | 228 | * @param cls unused |
229 | * @param tc scheduler context | ||
230 | */ | 229 | */ |
231 | static void | 230 | static void |
232 | do_httpd (void *cls, | 231 | do_httpd (void *cls); |
233 | const struct GNUNET_SCHEDULER_TaskContext *tc); | ||
234 | 232 | ||
235 | 233 | ||
236 | /** | 234 | /** |
@@ -840,11 +838,9 @@ run_httpd () | |||
840 | * Task run whenever HTTP server operations are pending. | 838 | * Task run whenever HTTP server operations are pending. |
841 | * | 839 | * |
842 | * @param cls unused | 840 | * @param cls unused |
843 | * @param tc scheduler context | ||
844 | */ | 841 | */ |
845 | static void | 842 | static void |
846 | do_httpd (void *cls, | 843 | do_httpd (void *cls) |
847 | const struct GNUNET_SCHEDULER_TaskContext *tc) | ||
848 | { | 844 | { |
849 | httpd_task = NULL; | 845 | httpd_task = NULL; |
850 | MHD_run (httpd); | 846 | MHD_run (httpd); |
@@ -856,11 +852,9 @@ do_httpd (void *cls, | |||
856 | * Task run on shutdown. Cleans up everything. | 852 | * Task run on shutdown. Cleans up everything. |
857 | * | 853 | * |
858 | * @param cls unused | 854 | * @param cls unused |
859 | * @param tc scheduler context | ||
860 | */ | 855 | */ |
861 | static void | 856 | static void |
862 | do_shutdown (void *cls, | 857 | do_shutdown (void *cls) |
863 | const struct GNUNET_SCHEDULER_TaskContext *tc) | ||
864 | { | 858 | { |
865 | if (NULL != httpd_task) | 859 | if (NULL != httpd_task) |
866 | { | 860 | { |