projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
991d76c
)
genksyms: pass hash and lookup functions name and target language though the input...
author
Arnaud Lacombe
<lacombar@gmail.com>
Thu, 5 May 2011 01:18:27 +0000
(21:18 -0400)
committer
Arnaud Lacombe
<lacombar@gmail.com>
Thu, 9 Jun 2011 18:04:40 +0000
(14:04 -0400)
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 <lacombar@gmail.com>
scripts/genksyms/keywords.gperf
patch
|
blob
|
blame
|
history
diff --git
a/scripts/genksyms/keywords.gperf
b/scripts/genksyms/keywords.gperf
index e6349acb6f2f36994071acd1c30889f1e4a2d583..3e77a943e7b7c08af456f067a3053f21e5579883 100644
(file)
--- 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);