diff options
Diffstat (limited to 'src/statistics/test_statistics_api_watch_zero_value.c')
-rw-r--r-- | src/statistics/test_statistics_api_watch_zero_value.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/statistics/test_statistics_api_watch_zero_value.c b/src/statistics/test_statistics_api_watch_zero_value.c index edfc9f85c..8bf656ed0 100644 --- a/src/statistics/test_statistics_api_watch_zero_value.c +++ b/src/statistics/test_statistics_api_watch_zero_value.c | |||
@@ -33,11 +33,11 @@ static struct GNUNET_STATISTICS_Handle *h; | |||
33 | 33 | ||
34 | static struct GNUNET_STATISTICS_Handle *h2; | 34 | static struct GNUNET_STATISTICS_Handle *h2; |
35 | 35 | ||
36 | static struct GNUNET_SCHEDULER_Task * shutdown_task; | 36 | static struct GNUNET_SCHEDULER_Task *shutdown_task; |
37 | 37 | ||
38 | 38 | ||
39 | static void | 39 | static void |
40 | force_shutdown (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | 40 | force_shutdown (void *cls) |
41 | { | 41 | { |
42 | fprintf (stderr, "Timeout, failed to receive notifications: %d\n", ok); | 42 | fprintf (stderr, "Timeout, failed to receive notifications: %d\n", ok); |
43 | GNUNET_STATISTICS_destroy (h, GNUNET_NO); | 43 | GNUNET_STATISTICS_destroy (h, GNUNET_NO); |
@@ -47,7 +47,7 @@ force_shutdown (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
47 | 47 | ||
48 | 48 | ||
49 | static void | 49 | static void |
50 | normal_shutdown (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | 50 | normal_shutdown (void *cls) |
51 | { | 51 | { |
52 | GNUNET_STATISTICS_destroy (h, GNUNET_NO); | 52 | GNUNET_STATISTICS_destroy (h, GNUNET_NO); |
53 | GNUNET_STATISTICS_destroy (h2, GNUNET_NO); | 53 | GNUNET_STATISTICS_destroy (h2, GNUNET_NO); |