diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-08-01 17:03:28 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-08-01 18:10:01 +0200 |
commit | 5cb36f41f01cf4b1f4395abfffd1b33116591e58 (patch) | |
tree | 1b8b7e319ce4d7d3ea94a3e84aa9e41723270faa /src/shared/util.h | |
parent | afe7fd56f5b5b81294dcb794214f97fc5e39dfea (diff) |
resolved: read the system /etc/resolv.conf unless we wrote it ourselves
This way we integrate nicely with foreign network management stacks,
such as NM.
Diffstat (limited to 'src/shared/util.h')
-rw-r--r-- | src/shared/util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/util.h b/src/shared/util.h index 45294800e4..fd999bd942 100644 --- a/src/shared/util.h +++ b/src/shared/util.h @@ -169,7 +169,7 @@ static inline const char *startswith_no_case(const char *s, const char *prefix) char *endswith(const char *s, const char *postfix) _pure_; -bool first_word(const char *s, const char *word) _pure_; +char *first_word(const char *s, const char *word) _pure_; int close_nointr(int fd); int safe_close(int fd); |