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/arm/test_arm_api.c | |
parent | 4f8ba34b32328bd99b2f0c2ff9a2372712022b32 (diff) | |
download | gnunet-7bc466bbdb8b64cac68c5ee59eb7ab6b9d85c420.tar.gz gnunet-7bc466bbdb8b64cac68c5ee59eb7ab6b9d85c420.zip |
const-ing of config-handles
Diffstat (limited to 'src/arm/test_arm_api.c')
-rw-r--r-- | src/arm/test_arm_api.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/arm/test_arm_api.c b/src/arm/test_arm_api.c index 89f63d3ec..fbd90583e 100644 --- a/src/arm/test_arm_api.c +++ b/src/arm/test_arm_api.c | |||
@@ -38,7 +38,7 @@ | |||
38 | 38 | ||
39 | static struct GNUNET_SCHEDULER_Handle *sched; | 39 | static struct GNUNET_SCHEDULER_Handle *sched; |
40 | 40 | ||
41 | static struct GNUNET_CONFIGURATION_Handle *cfg; | 41 | static const struct GNUNET_CONFIGURATION_Handle *cfg; |
42 | 42 | ||
43 | static int ok = 1; | 43 | static int ok = 1; |
44 | 44 | ||
@@ -84,7 +84,8 @@ static void | |||
84 | task (void *cls, | 84 | task (void *cls, |
85 | struct GNUNET_SCHEDULER_Handle *s, | 85 | struct GNUNET_SCHEDULER_Handle *s, |
86 | char *const *args, | 86 | char *const *args, |
87 | const char *cfgfile, struct GNUNET_CONFIGURATION_Handle *c) | 87 | const char *cfgfile, |
88 | const struct GNUNET_CONFIGURATION_Handle *c) | ||
88 | { | 89 | { |
89 | cfg = c; | 90 | cfg = c; |
90 | sched = s; | 91 | sched = s; |