aboutsummaryrefslogtreecommitdiff
path: root/src/topology
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2009-07-26 21:20:11 +0000
committerChristian Grothoff <christian@grothoff.org>2009-07-26 21:20:11 +0000
commit7bc466bbdb8b64cac68c5ee59eb7ab6b9d85c420 (patch)
treedc415457e57f9cfda58eb22ca400a941ebcf602e /src/topology
parent4f8ba34b32328bd99b2f0c2ff9a2372712022b32 (diff)
downloadgnunet-7bc466bbdb8b64cac68c5ee59eb7ab6b9d85c420.tar.gz
gnunet-7bc466bbdb8b64cac68c5ee59eb7ab6b9d85c420.zip
const-ing of config-handles
Diffstat (limited to 'src/topology')
-rw-r--r--src/topology/gnunet-daemon-topology.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/topology/gnunet-daemon-topology.c b/src/topology/gnunet-daemon-topology.c
index 04d9d8801..a67023542 100644
--- a/src/topology/gnunet-daemon-topology.c
+++ b/src/topology/gnunet-daemon-topology.c
@@ -151,7 +151,7 @@ static struct GNUNET_SCHEDULER_Handle * sched;
151/** 151/**
152 * Our configuration. 152 * Our configuration.
153 */ 153 */
154static struct GNUNET_CONFIGURATION_Handle * cfg; 154static const struct GNUNET_CONFIGURATION_Handle * cfg;
155 155
156/** 156/**
157 * Handle to the core API. 157 * Handle to the core API.
@@ -725,7 +725,7 @@ static struct GNUNET_GETOPT_CommandLineOption options[] = {
725 * Read the friends file. 725 * Read the friends file.
726 */ 726 */
727static void 727static void
728read_friends_file (struct GNUNET_CONFIGURATION_Handle *cfg) 728read_friends_file (const struct GNUNET_CONFIGURATION_Handle *cfg)
729{ 729{
730 char *fn; 730 char *fn;
731 char *data; 731 char *data;
@@ -998,7 +998,7 @@ run (void *cls,
998 struct GNUNET_SCHEDULER_Handle * s, 998 struct GNUNET_SCHEDULER_Handle * s,
999 char *const *args, 999 char *const *args,
1000 const char *cfgfile, 1000 const char *cfgfile,
1001 struct GNUNET_CONFIGURATION_Handle * c) 1001 const struct GNUNET_CONFIGURATION_Handle * c)
1002{ 1002{
1003 struct GNUNET_CORE_MessageHandler handlers[] = 1003 struct GNUNET_CORE_MessageHandler handlers[] =
1004 { 1004 {