about summary refs log tree commit diff
path: root/src/nm-dispatcher
diff options
context:
space:
mode:
Diffstat (limited to 'src/nm-dispatcher')
-rw-r--r--src/nm-dispatcher/nm-dispatcher.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/nm-dispatcher/nm-dispatcher.c b/src/nm-dispatcher/nm-dispatcher.c
index 4cf662c4..80fe40a0 100644
--- a/src/nm-dispatcher/nm-dispatcher.c
+++ b/src/nm-dispatcher/nm-dispatcher.c
@@ -62,7 +62,7 @@ typedef struct {
     bool shutdown_quitting;
 } GlobalData;
 
-GlobalData gl;
+static GlobalData gl;
 
 typedef struct {
     Request *request;
@@ -1138,25 +1138,25 @@ _initial_setup(int *p_argc, char ***p_argv, GError **error)
     GOptionContext *opt_ctx;
     gboolean        arg_debug = FALSE;
     GOptionEntry    entries[] = {{
-                                     "debug",
-                                     0,
-                                     0,
-                                     G_OPTION_ARG_NONE,
-                                     &arg_debug,
-                                     "Output to console rather than syslog",
-                                     NULL,
+                                  "debug",
+                                  0,
+                                  0,
+                                  G_OPTION_ARG_NONE,
+                                  &arg_debug,
+                                  "Output to console rather than syslog",
+                                  NULL,
                               },
                                  {
-                                     "persist",
-                                     0,
-                                     0,
-                                     G_OPTION_ARG_NONE,
-                                     &gl.persist,
-                                     "Don't quit after a short timeout",
-                                     NULL,
+                                  "persist",
+                                  0,
+                                  0,
+                                  G_OPTION_ARG_NONE,
+                                  &gl.persist,
+                                  "Don't quit after a short timeout",
+                                  NULL,
                               },
                                  {
-                                     NULL,
+                                  NULL,
                               }};
     gboolean        success;