diff options
author | Mike Gilbert <floppymaster@gmail.com> | 2017-01-10 08:39:05 +0100 |
---|---|---|
committer | Martin Pitt <martin.pitt@ubuntu.com> | 2017-01-10 08:39:05 +0100 |
commit | c9f7b4d356a453a01aa77a6bb74ca7ef49732c08 (patch) | |
tree | 2a12f9a2e94d9fafe07af88d2eee2ee958f05c40 /src/resolve/resolved-conf.h | |
parent | udev: add ID_INPUT_SWITCH for devices with switch capability (#5057) (diff) | |
download | systemd-c9f7b4d356a453a01aa77a6bb74ca7ef49732c08.tar.xz systemd-c9f7b4d356a453a01aa77a6bb74ca7ef49732c08.zip |
build-sys: add check for gperf lookup function signature (#5055)
gperf-3.1 generates lookup functions that take a size_t length
parameter instead of unsigned int. Test for this at configure time.
Fixes: https://github.com/systemd/systemd/issues/5039
Diffstat (limited to 'src/resolve/resolved-conf.h')
-rw-r--r-- | src/resolve/resolved-conf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resolve/resolved-conf.h b/src/resolve/resolved-conf.h index fc425a36b2..8184d6cadf 100644 --- a/src/resolve/resolved-conf.h +++ b/src/resolve/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); |