From: Arnaud Lacombe Date: Thu, 5 May 2011 01:18:27 +0000 (-0400) Subject: genksyms: pass hash and lookup functions name and target language though the input... X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=45c47d966850e2727f913c92e4b6d1c2d586d6bd;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git genksyms: pass hash and lookup functions name and target language though the input file Renaming hash and lookup functions on the command line would reduces its genericity. Use the .gperf file to pass this information. Do the same for the target language. Signed-off-by: Arnaud Lacombe --- diff --git a/scripts/genksyms/keywords.gperf b/scripts/genksyms/keywords.gperf index e6349acb6f2f..3e77a943e7b7 100644 --- a/scripts/genksyms/keywords.gperf +++ b/scripts/genksyms/keywords.gperf @@ -1,3 +1,6 @@ +%language=ANSI-C +%define hash-function-name is_reserved_hash +%define lookup-function-name is_reserved_word %{ struct resword; static const struct resword *is_reserved_word(register const char *str, register unsigned int len);