chiark / gitweb /
dbus: let's make this const array static
authorLennart Poettering <lennart@poettering.net>
Fri, 29 Mar 2013 22:14:58 +0000 (23:14 +0100)
committerLennart Poettering <lennart@poettering.net>
Sat, 30 Mar 2013 14:21:54 +0000 (15:21 +0100)
src/core/dbus.c

index 236ebc9..62cbf89 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
         };