diff --git a/src/resolve/resolved-resolv-conf.c b/src/resolve/resolved-resolv-conf.c index 48105eef0c..f681efd00d 100644 --- a/src/resolve/resolved-resolv-conf.c +++ b/src/resolve/resolved-resolv-conf.c @@ -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; diff --git a/src/resolve/resolved-resolv-conf.h b/src/resolve/resolved-resolv-conf.h index 99b3ca88fb..ef34f8e09e 100644 --- a/src/resolve/resolved-resolv-conf.h +++ b/src/resolve/resolved-resolv-conf.h @@ -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);