diff options
author | Josh Triplett <josh@joshtriplett.org> | 2009-10-15 12:58:40 -0700 |
---|---|---|
committer | Josh Triplett <josh@joshtriplett.org> | 2009-11-15 15:01:22 -0800 |
commit | ed9df091491dd41d4e054071948c8e2e5b354c99 (patch) | |
tree | 7a9f8e36027944e9fff166ff8b99e5d6a2a45ff4 /scripts/genksyms/keywords.gperf | |
parent | 65166571800af0f63f21e5576d7db12d2bf73790 (diff) | |
download | op-kernel-dev-ed9df091491dd41d4e054071948c8e2e5b354c99.zip op-kernel-dev-ed9df091491dd41d4e054071948c8e2e5b354c99.tar.gz |
genksyms: Mark is_reserved_word static
The genksyms keyword gperf hash provides a function is_reserved_word.
genksyms #includes the resulting generated file keywords.c, so the
function gets used only in the same source file that defines it. Mark
is_reserved_word static, and regenerate the corresponding generated
file.
Signed-off-by: Josh Triplett <josh@joshtriplett.org>
Diffstat (limited to 'scripts/genksyms/keywords.gperf')
-rw-r--r-- | scripts/genksyms/keywords.gperf | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/genksyms/keywords.gperf b/scripts/genksyms/keywords.gperf index 5ef3733..8fe977a 100644 --- a/scripts/genksyms/keywords.gperf +++ b/scripts/genksyms/keywords.gperf @@ -1,4 +1,6 @@ %{ +struct resword; +static const struct resword *is_reserved_word(register const char *str, register unsigned int len); %} struct resword { const char *name; int token; } %% |