]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/resolve/resolved-etc-hosts.h
alloc-util: simplify GREEDY_REALLOC() logic by relying on malloc_usable_size()
[thirdparty/systemd.git] / src / resolve / resolved-etc-hosts.h
index 459b310185298aa7cdf20dc0c5443484eabc2a4e..c85926a3dcb155e03d48cf49edf2cc5764217406 100644 (file)
@@ -15,7 +15,7 @@ typedef struct EtcHostsItemByName {
         char *name;
 
         struct in_addr_data **addresses;
-        size_t n_addresses, n_allocated;
+        size_t n_addresses;
 } EtcHostsItemByName;
 
 int etc_hosts_parse(EtcHosts *hosts, FILE *f);