chiark / gitweb /
dbus: let's make this const array static
[elogind.git] / src / core / dbus.c
index 236ebc99d99804c5f1d7028c6dd31bf49403236d..62cbf89f647d41667528d55ae85b3bac0815de58 100644 (file)
@@ -1054,7 +1054,7 @@ fail:
 static int bus_init_private(Manager *m) {
         DBusError error;
         int r;
-        const char *const external_only[] = {
+        static const char *const external_only[] = {
                 "EXTERNAL",
                 NULL
         };