From a50d79103f31ece8cf2d63472b6542a047f5b5f7 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 8 Dec 2017 16:55:00 +0100 Subject: [PATCH] resolved: don't make defines needlessly public --- src/resolve/resolved-resolv-conf.c | 3 +++ src/resolve/resolved-resolv-conf.h | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/resolve/resolved-resolv-conf.c b/src/resolve/resolved-resolv-conf.c index 48105ee..f681efd 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 99b3ca8..ef34f8e 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); -- 2.7.4