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/datacache/datacache_api.c | |
parent | 4f8ba34b32328bd99b2f0c2ff9a2372712022b32 (diff) |
const-ing of config-handles
Diffstat (limited to 'src/datacache/datacache_api.c')
-rw-r--r-- | src/datacache/datacache_api.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/datacache/datacache_api.c b/src/datacache/datacache_api.c index 0958c1d2c5..421acac0ff 100644 --- a/src/datacache/datacache_api.c +++ b/src/datacache/datacache_api.c @@ -47,7 +47,7 @@ struct GNUNET_DATACACHE_Handle /** * Our configuration. */ - struct GNUNET_CONFIGURATION_Handle *cfg; + const struct GNUNET_CONFIGURATION_Handle *cfg; /** * Configuration section to use. @@ -118,7 +118,7 @@ env_delete_notify (void *cls, */ struct GNUNET_DATACACHE_Handle * GNUNET_DATACACHE_create (struct GNUNET_SCHEDULER_Handle *sched, - struct GNUNET_CONFIGURATION_Handle *cfg, + const struct GNUNET_CONFIGURATION_Handle *cfg, const char *section) { int fd; |