about summary refs log tree commit diff
path: root/src/nm-dispatcher
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2023-02-10 11:50:34 +0100
committerMichael Biebl <biebl@debian.org>2023-02-10 11:50:34 +0100
commit1372848511cb896b80b51ed1a3e9606bd9816631 (patch)
tree674792b9385bdef935988894b45f06b2af39f88c /src/nm-dispatcher
parent40ec077ea305994c1fc2130add6787ca0c73e2c6 (diff)
New upstream version 1.42.0 upstream/1.42.0
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;