1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-10-28 03:25:27 +03:00

resolve: make manager_etc_hosts_read() static

This commit is contained in:
Yu Watanabe 2018-07-28 20:36:13 +09:00
parent 48c20af38e
commit 452ca09152
2 changed files with 1 additions and 2 deletions

View File

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

View File

@ -6,5 +6,4 @@
#include "resolved-dns-answer.h"
void manager_etc_hosts_flush(Manager *m);
int manager_etc_hosts_read(Manager *m);
int manager_etc_hosts_lookup(Manager *m, DnsQuestion* q, DnsAnswer **answer);