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:
parent
48c20af38e
commit
452ca09152
@ -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;
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user