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/template/gnunet-service-template.c | |
parent | 4f8ba34b32328bd99b2f0c2ff9a2372712022b32 (diff) | |
download | gnunet-7bc466bbdb8b64cac68c5ee59eb7ab6b9d85c420.tar.gz gnunet-7bc466bbdb8b64cac68c5ee59eb7ab6b9d85c420.zip |
const-ing of config-handles
Diffstat (limited to 'src/template/gnunet-service-template.c')
-rw-r--r-- | src/template/gnunet-service-template.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/template/gnunet-service-template.c b/src/template/gnunet-service-template.c index c43d681d7..3ab7d3dcc 100644 --- a/src/template/gnunet-service-template.c +++ b/src/template/gnunet-service-template.c | |||
@@ -34,7 +34,8 @@ | |||
34 | * @param cfg configuration to use | 34 | * @param cfg configuration to use |
35 | */ | 35 | */ |
36 | static void | 36 | static void |
37 | finish (void *cls, struct GNUNET_CONFIGURATION_Handle *cfg) | 37 | finish (void *cls, |
38 | const struct GNUNET_CONFIGURATION_Handle *cfg) | ||
38 | { | 39 | { |
39 | /* FIXME */ | 40 | /* FIXME */ |
40 | } | 41 | } |
@@ -61,7 +62,7 @@ static void | |||
61 | run (void *cls, | 62 | run (void *cls, |
62 | struct GNUNET_SCHEDULER_Handle *sched, | 63 | struct GNUNET_SCHEDULER_Handle *sched, |
63 | struct GNUNET_SERVER_Handle *server, | 64 | struct GNUNET_SERVER_Handle *server, |
64 | struct GNUNET_CONFIGURATION_Handle *cfg) | 65 | const struct GNUNET_CONFIGURATION_Handle *cfg) |
65 | { | 66 | { |
66 | /* FIXME: do setup here */ | 67 | /* FIXME: do setup here */ |
67 | GNUNET_SERVER_add_handlers (server, handlers); | 68 | GNUNET_SERVER_add_handlers (server, handlers); |