diff options
Diffstat (limited to 'src/resolve/resolved-etc-hosts.h')
-rw-r--r-- | src/resolve/resolved-etc-hosts.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/resolve/resolved-etc-hosts.h b/src/resolve/resolved-etc-hosts.h index 55f884746f..e1a7249f29 100644 --- a/src/resolve/resolved-etc-hosts.h +++ b/src/resolve/resolved-etc-hosts.h @@ -7,16 +7,12 @@ typedef struct EtcHostsItemByAddress { struct in_addr_data address; - - char **names; - size_t n_names; + Set *names; } EtcHostsItemByAddress; typedef struct EtcHostsItemByName { char *name; - - struct in_addr_data **addresses; - size_t n_addresses; + Set *addresses; } EtcHostsItemByName; int etc_hosts_parse(EtcHosts *hosts, FILE *f); |