]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
resolved: don't make defines needlessly public
authorLennart Poettering <lennart@poettering.net>
Fri, 8 Dec 2017 15:55:00 +0000 (16:55 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 8 Dec 2017 16:25:08 +0000 (17:25 +0100)
src/resolve/resolved-resolv-conf.c
src/resolve/resolved-resolv-conf.h

index 48105eef0c0a7cc8e93acd3b022d69d59d93a8cd..f681efd00d36db6e510ece75e8268a6daf66fe10 100644 (file)
@@ -32,6 +32,9 @@
 #include "string-util.h"
 #include "strv.h"
 
+#define PRIVATE_UPLINK_RESOLV_CONF "/run/systemd/resolve/resolv.conf"
+#define PRIVATE_STUB_RESOLV_CONF "/run/systemd/resolve/stub-resolv.conf"
+
 static bool file_is_our_own(const struct stat *st) {
         struct stat own1, own2;
 
index 99b3ca88fb4855e3aa96e49e02491b9eabc90f41..ef34f8e09e05bb13f93b907b5def54679cfb8eb4 100644 (file)
@@ -22,8 +22,5 @@
 
 #include "resolved-manager.h"
 
-#define PRIVATE_UPLINK_RESOLV_CONF "/run/systemd/resolve/resolv.conf"
-#define PRIVATE_STUB_RESOLV_CONF "/run/systemd/resolve/stub-resolv.conf"
-
 int manager_read_resolv_conf(Manager *m);
 int manager_write_resolv_conf(Manager *m);