aboutsummaryrefslogtreecommitdiff
path: root/src/topology
diff options
context:
space:
mode:
Diffstat (limited to 'src/topology')
-rw-r--r--src/topology/gnunet-daemon-topology.c11
1 files changed, 3 insertions, 8 deletions
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
@@ -1431,14 +1431,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.
*
* @param argc number of arguments from the command line
@@ -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 ==