dect
/
linux-2.6
Archived
13
0
Fork 0

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 <lacombar@gmail.com>
This commit is contained in:
Arnaud Lacombe 2011-05-04 21:18:27 -04:00
parent 991d76c950
commit 45c47d9668
1 changed files with 3 additions and 0 deletions

View File

@ -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);