diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2017-05-06 16:49:46 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2017-05-06 16:49:46 -0400 |
commit | 8b3a6039faff5b2df79626172fcb1df816e3e9a6 (patch) | |
tree | b3c6337bb591848e259523d1e99895ee83ca1ca4 /src/grp-resolve | |
parent | cbf74de439b6c0334596a9fd461aad2f4552e7fe (diff) | |
parent | 57113f5edeb70b391bb0d93ccee457829fc4b64f (diff) |
Merge branch 'notsystemd/postmove' into notsystemd/master
Diffstat (limited to 'src/grp-resolve')
-rw-r--r-- | src/grp-resolve/libbasic-dns/src/dns-type.c | 2 | ||||
-rw-r--r-- | src/grp-resolve/systemd-resolved/resolved-conf.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/grp-resolve/libbasic-dns/src/dns-type.c b/src/grp-resolve/libbasic-dns/src/dns-type.c index 79603c4dfc..f7acfa9e6f 100644 --- a/src/grp-resolve/libbasic-dns/src/dns-type.c +++ b/src/grp-resolve/libbasic-dns/src/dns-type.c @@ -29,7 +29,7 @@ typedef const struct { } dns_type; static const struct dns_type_name * -lookup_dns_type (register const char *str, register unsigned int len); +lookup_dns_type (register const char *str, register GPERF_LEN_TYPE len); #include "dns_type-from-name.h" #include "dns_type-to-name.h" diff --git a/src/grp-resolve/systemd-resolved/resolved-conf.h b/src/grp-resolve/systemd-resolved/resolved-conf.h index f62d56a938..e8cd8e1af3 100644 --- a/src/grp-resolve/systemd-resolved/resolved-conf.h +++ b/src/grp-resolve/systemd-resolved/resolved-conf.h @@ -41,7 +41,7 @@ int manager_parse_search_domains_and_warn(Manager *m, const char *string); int manager_add_dns_server_by_string(Manager *m, DnsServerType type, const char *word); int manager_parse_dns_server_string_and_warn(Manager *m, DnsServerType type, const char *string); -const struct ConfigPerfItem* resolved_gperf_lookup(const char *key, unsigned length); +const struct ConfigPerfItem* resolved_gperf_lookup(const char *key, GPERF_LEN_TYPE length); int config_parse_dns_servers(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); int config_parse_search_domains(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); |