aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-parse.gperf
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>1999-10-03 16:08:31 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>1999-10-03 16:08:31 +0000
commit93868d11a61ed7c903a112b9a29b43907220f51a (patch)
tree9f17d331eaad83eee979c2f468cf2533e2d5fe61 /gcc/c-parse.gperf
parent807625cf45d49ff58c333a0ad826f267d1f45a04 (diff)
downloadgcc-93868d11a61ed7c903a112b9a29b43907220f51a.zip
gcc-93868d11a61ed7c903a112b9a29b43907220f51a.tar.gz
gcc-93868d11a61ed7c903a112b9a29b43907220f51a.tar.bz2
alias.c (nonlocal_reference_p): Add static prototype.
* alias.c (nonlocal_reference_p): Add static prototype. * bitmap.c (bitmap_element_allocate): Prototype args in function pointer cast. * builtins.c (stabilize_va_list): Add static prototype. (expand_builtin_va_arg): Constify a char*. * c-lex.c (getch, put_back, extend_token_buffer_to, read_line_number, token_getch, token_put_back): Add static prototypes. * c-parse.gperf (hash, is_reserved_word): Likewise. * cccp.c (is_dir_separator): Likewise. From-SVN: r29782
Diffstat (limited to 'gcc/c-parse.gperf')
-rw-r--r--gcc/c-parse.gperf10
1 files changed, 9 insertions, 1 deletions
diff --git a/gcc/c-parse.gperf b/gcc/c-parse.gperf
index 604cb64..8f272c4 100644
--- a/gcc/c-parse.gperf
+++ b/gcc/c-parse.gperf
@@ -1,7 +1,15 @@
%{
-/* Command-line: gperf -L KR-C -F ', 0, 0' -p -j1 -i 1 -g -o -t -N is_reserved_word -k1,3,$ c-parse.gperf */
+/* Command-line: gperf -L C -F ', 0, 0' -p -j1 -i 1 -g -o -t -N is_reserved_word -k1,3,$ c-parse.gperf */
%}
struct resword { const char *name; short token; enum rid rid; };
+#ifdef __GNUC__
+__inline
+#endif
+static unsigned int hash PARAMS ((const char *, unsigned int));
+#ifdef __GNUC__
+__inline
+#endif
+struct resword *is_reserved_word PARAMS ((const char *, unsigned int));
%%
@class, CLASS, NORID
@compatibility_alias, ALIAS, NORID