summaryrefslogtreecommitdiff
path: root/src/resolve/resolved-etc-hosts.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-07-28 20:36:13 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2018-07-28 20:36:13 +0900
commit452ca091522190733bc1ee902b03060dae65188e (patch)
tree274589d9e93370ddc72b39cee16b0fb23653940a /src/resolve/resolved-etc-hosts.c
parent48c20af38ef01a79aff50d679e35ecc906846121 (diff)
downloadsystemd-452ca091522190733bc1ee902b03060dae65188e.tar.gz
resolve: make manager_etc_hosts_read() static
Diffstat (limited to 'src/resolve/resolved-etc-hosts.c')
-rw-r--r--src/resolve/resolved-etc-hosts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resolve/resolved-etc-hosts.c b/src/resolve/resolved-etc-hosts.c
index 10e2b7f737..2c52c91b72 100644
--- a/src/resolve/resolved-etc-hosts.c
+++ b/src/resolve/resolved-etc-hosts.c
@@ -236,7 +236,7 @@ static int parse_line(Manager *m, unsigned nr, const char *line) {
return r;
}
-int manager_etc_hosts_read(Manager *m) {
+static int manager_etc_hosts_read(Manager *m) {
_cleanup_fclose_ FILE *f = NULL;
char line[LINE_MAX];
struct stat st;