aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/cfns.h
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2003-07-07 21:11:59 +0200
committerAndreas Jaeger <aj@gcc.gnu.org>2003-07-07 21:11:59 +0200
commit5671bf2771a1e85652ae0ef8b1bdc5586bd9a654 (patch)
treed225fa5aa22af2d34ad3be50332a336d045f1610 /gcc/cp/cfns.h
parent2c430630da43fd1908fcb6c4b57d0a5221c86261 (diff)
downloadgcc-5671bf2771a1e85652ae0ef8b1bdc5586bd9a654.zip
gcc-5671bf2771a1e85652ae0ef8b1bdc5586bd9a654.tar.gz
gcc-5671bf2771a1e85652ae0ef8b1bdc5586bd9a654.tar.bz2
genextract.c: Convert remaining prototypes to ISO C90.
2003-07-07 Andreas Jaeger <aj@suse.de> * genextract.c: Convert remaining prototypes to ISO C90. * cpplex.c (_cpp_free_buff): Convert prototype to ISO C90. * fold-const.c (fold_single_bit_test): Likewise. * diagnostic.c (default_diagnostic_finalizer): Likewise. * cfgrtl.c (rtl_redirect_edge_and_branch): Likewise. * gengtype.c (write_array): Generate ISO C90 prototypes. * genflags.c (gen_proto): Generate ISO C90 prototypes. For cp: 2003-07-07 Andreas Jaeger <aj@suse.de> * friend.c: Convert to ISO C90 prototypes. * Make-lang.in ($(srcdir)/cp/cfns.h): Use ANSI-C as output language. * cfns.h: Regenerate. * typeck.c: Convert remaining prototypes to ISO C90. * search.c: Likewise. * decl2.c (build_expr_from_tree): Convert prototype to ISO C90. * semantics.c (expand_or_defer_fn): Likewise * mangle.c (discriminator_for_string_literal): Likewise. * g++spec.c (lang_specific_driver): Likewise. * search.c (lookup_base_r): Remove unused variable. From-SVN: r69050
Diffstat (limited to 'gcc/cp/cfns.h')
-rw-r--r--gcc/cp/cfns.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/gcc/cp/cfns.h b/gcc/cp/cfns.h
index 8f8f3ea..415518b 100644
--- a/gcc/cp/cfns.h
+++ b/gcc/cp/cfns.h
@@ -1,5 +1,5 @@
-/* C code produced by gperf version 2.7.2 */
-/* Command-line: gperf -o -C -E -k '1-6,$' -j1 -D -N libc_name_p ../../../src-gcc/gcc/cp/cfns.gperf */
+/* ANSI-C code produced by gperf version 2.7.2 */
+/* Command-line: gperf -o -L ANSI-C -C -E -k '1-6,$' -j1 -D -N libc_name_p -L ANSI-C cp/cfns.gperf */
#ifdef __GNUC__
__inline
#endif
@@ -18,9 +18,7 @@ inline
#endif
#endif
static unsigned int
-hash (str, len)
- register const char *str;
- register unsigned int len;
+hash (register const char *str, register unsigned int len)
{
static const unsigned short asso_values[] =
{
@@ -77,9 +75,7 @@ hash (str, len)
__inline
#endif
const char *
-libc_name_p (str, len)
- register const char *str;
- register unsigned int len;
+libc_name_p (register const char *str, register unsigned int len)
{
enum
{