From: Heikki Lindholm Date: Mon, 8 Feb 2010 18:15:28 +0000 (+0000) Subject: fix compile on os x X-Git-Tag: initial-import-from-subversion-38251~22760 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=bdc3296182aaba2f386457f0567bfa3e76bc8ee8;p=oweals%2Fgnunet.git fix compile on os x --- diff --git a/src/fs/gnunet-service-fs.c b/src/fs/gnunet-service-fs.c index 19f05d247..ffda521dd 100644 --- a/src/fs/gnunet-service-fs.c +++ b/src/fs/gnunet-service-fs.c @@ -530,7 +530,7 @@ static struct GNUNET_SCHEDULER_Handle *sched; /** * Our configuration. */ -const struct GNUNET_CONFIGURATION_Handle *cfg; +static const struct GNUNET_CONFIGURATION_Handle *cfg; /** * Map of peer identifiers to "struct ConnectedPeer" (for that peer). diff --git a/src/fs/gnunet-service-fs_drq.c b/src/fs/gnunet-service-fs_drq.c index 27db8263d..cb941c72b 100644 --- a/src/fs/gnunet-service-fs_drq.c +++ b/src/fs/gnunet-service-fs_drq.c @@ -90,7 +90,7 @@ static struct GNUNET_SCHEDULER_Handle *sched; /** * Our configuration. */ -const struct GNUNET_CONFIGURATION_Handle *cfg; +static const struct GNUNET_CONFIGURATION_Handle *cfg; /** * Head of request queue for the datastore, sorted by timeout. diff --git a/src/fs/gnunet-service-fs_indexing.c b/src/fs/gnunet-service-fs_indexing.c index de569f7ca..f6fd3f664 100644 --- a/src/fs/gnunet-service-fs_indexing.c +++ b/src/fs/gnunet-service-fs_indexing.c @@ -92,7 +92,7 @@ static struct GNUNET_SCHEDULER_Handle *sched; /** * Our configuration. */ -const struct GNUNET_CONFIGURATION_Handle *cfg; +static const struct GNUNET_CONFIGURATION_Handle *cfg; /**