From: Sven Eden Date: Tue, 10 Jan 2017 04:17:13 +0000 (+0100) Subject: Prep 4xx6: Fix logind_gperf_lookup declaration X-Git-Tag: v226.4~1^2~66 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=c3312094398e35e075a7242a8a6a6c4d352bf01e Prep 4xx6: Fix logind_gperf_lookup declaration --- diff --git a/.gitignore b/.gitignore index c54f556eb..1ff0082f9 100644 --- a/.gitignore +++ b/.gitignore @@ -291,3 +291,6 @@ stamp-* /elogind-inhibit /check_tree.sh /get_build_file_diff.sh +elogind_patches.lst +/patches/ +/elogind.cbp diff --git a/src/login/logind.h b/src/login/logind.h index 3990ab040..ff9607413 100644 --- a/src/login/logind.h +++ b/src/login/logind.h @@ -179,7 +179,7 @@ int manager_unit_is_active(Manager *manager, const char *unit); int manager_job_is_active(Manager *manager, const char *path); /* gperf lookup function */ -const struct ConfigPerfItem* logind_gperf_lookup(const char *key, unsigned length); +const struct ConfigPerfItem* logind_gperf_lookup (const char *str, size_t len); int manager_set_lid_switch_ignore(Manager *m, usec_t until);