diff options
author | Christian Grothoff <christian@grothoff.org> | 2009-07-26 21:20:11 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2009-07-26 21:20:11 +0000 |
commit | 7bc466bbdb8b64cac68c5ee59eb7ab6b9d85c420 (patch) | |
tree | dc415457e57f9cfda58eb22ca400a941ebcf602e /src/statistics/gnunet-service-statistics.c | |
parent | 4f8ba34b32328bd99b2f0c2ff9a2372712022b32 (diff) | |
download | gnunet-7bc466bbdb8b64cac68c5ee59eb7ab6b9d85c420.tar.gz gnunet-7bc466bbdb8b64cac68c5ee59eb7ab6b9d85c420.zip |
const-ing of config-handles
Diffstat (limited to 'src/statistics/gnunet-service-statistics.c')
-rw-r--r-- | src/statistics/gnunet-service-statistics.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/statistics/gnunet-service-statistics.c b/src/statistics/gnunet-service-statistics.c index 1c0981b80..e4c3fe040 100644 --- a/src/statistics/gnunet-service-statistics.c +++ b/src/statistics/gnunet-service-statistics.c | |||
@@ -96,7 +96,7 @@ static uint32_t uidgen; | |||
96 | */ | 96 | */ |
97 | static void | 97 | static void |
98 | load (struct GNUNET_SERVER_Handle *server, | 98 | load (struct GNUNET_SERVER_Handle *server, |
99 | struct GNUNET_CONFIGURATION_Handle *cfg) | 99 | const struct GNUNET_CONFIGURATION_Handle *cfg) |
100 | { | 100 | { |
101 | char *fn; | 101 | char *fn; |
102 | struct GNUNET_DISK_FileHandle *fh; | 102 | struct GNUNET_DISK_FileHandle *fh; |
@@ -157,7 +157,8 @@ load (struct GNUNET_SERVER_Handle *server, | |||
157 | * @param cfg configuration to use | 157 | * @param cfg configuration to use |
158 | */ | 158 | */ |
159 | static void | 159 | static void |
160 | save (void *cls, struct GNUNET_CONFIGURATION_Handle *cfg) | 160 | save (void *cls, |
161 | const struct GNUNET_CONFIGURATION_Handle *cfg) | ||
161 | { | 162 | { |
162 | struct StatsEntry *pos; | 163 | struct StatsEntry *pos; |
163 | char *fn; | 164 | char *fn; |
@@ -441,7 +442,7 @@ static void | |||
441 | run (void *cls, | 442 | run (void *cls, |
442 | struct GNUNET_SCHEDULER_Handle *sched, | 443 | struct GNUNET_SCHEDULER_Handle *sched, |
443 | struct GNUNET_SERVER_Handle *server, | 444 | struct GNUNET_SERVER_Handle *server, |
444 | struct GNUNET_CONFIGURATION_Handle *cfg) | 445 | const struct GNUNET_CONFIGURATION_Handle *cfg) |
445 | { | 446 | { |
446 | GNUNET_SERVER_add_handlers (server, handlers); | 447 | GNUNET_SERVER_add_handlers (server, handlers); |
447 | load (server, cfg); | 448 | load (server, cfg); |