aboutsummaryrefslogtreecommitdiff
path: root/src/statistics/gnunet-statistics.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/statistics/gnunet-statistics.c')
-rw-r--r--src/statistics/gnunet-statistics.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/statistics/gnunet-statistics.c b/src/statistics/gnunet-statistics.c
index ff1ec39a0..2bf5959e3 100644
--- a/src/statistics/gnunet-statistics.c
+++ b/src/statistics/gnunet-statistics.c
@@ -158,11 +158,9 @@ cleanup (void *cls, int success)
158 * Function run on shutdown to clean up. 158 * Function run on shutdown to clean up.
159 * 159 *
160 * @param cls the statistics handle 160 * @param cls the statistics handle
161 * @param tc scheduler context
162 */ 161 */
163static void 162static void
164shutdown_task (void *cls, 163shutdown_task (void *cls)
165 const struct GNUNET_SCHEDULER_TaskContext *tc)
166{ 164{
167 struct GNUNET_STATISTICS_Handle *h = cls; 165 struct GNUNET_STATISTICS_Handle *h = cls;
168 166
@@ -185,8 +183,7 @@ shutdown_task (void *cls,
185 * @param tc schedueler context 183 * @param tc schedueler context
186 */ 184 */
187static void 185static void
188main_task (void *cls, 186main_task (void *cls)
189 const struct GNUNET_SCHEDULER_TaskContext *tc)
190{ 187{
191 const struct GNUNET_CONFIGURATION_Handle *cfg = cls; 188 const struct GNUNET_CONFIGURATION_Handle *cfg = cls;
192 struct GNUNET_STATISTICS_Handle *h; 189 struct GNUNET_STATISTICS_Handle *h;