From 8cf2ba9bcb452ee1b7a998fc4128a4d27283c45c Mon Sep 17 00:00:00 2001 From: grothoff Date: Fri, 18 Jun 2010 14:09:55 +0000 Subject: localization of scopes git-svn-id: https://gnunet.org/svn/gnunet@11802 140774ce-b5e7-0310-ab8b-a85725594a96 --- src/topology/gnunet-daemon-topology.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'src/topology') diff --git a/src/topology/gnunet-daemon-topology.c b/src/topology/gnunet-daemon-topology.c index e1c9046227..9700450937 100644 --- a/src/topology/gnunet-daemon-topology.c +++ b/src/topology/gnunet-daemon-topology.c @@ -1430,14 +1430,6 @@ run (void *cls, } -/** - * gnunet-daemon-topology command line options. - */ -static struct GNUNET_GETOPT_CommandLineOption options[] = { - GNUNET_GETOPT_OPTION_END -}; - - /** * The main function for the topology daemon. * @@ -1448,6 +1440,9 @@ static struct GNUNET_GETOPT_CommandLineOption options[] = { int main (int argc, char *const *argv) { + static const struct GNUNET_GETOPT_CommandLineOption options[] = { + GNUNET_GETOPT_OPTION_END + }; int ret; ret = (GNUNET_OK == -- cgit v1.2.3-18-g5258