resolved: don't make defines needlessly public

This commit is contained in:
Lennart Poettering 2017-12-08 16:55:00 +01:00
parent ace68cd711
commit a50d79103f
2 changed files with 3 additions and 3 deletions

View 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;

View 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);