From: Jim Kingdon Date: Tue, 26 Oct 1999 04:30:08 +0000 (-0600) Subject: cplus-dem.c: Move declarations of standard_symbol_characters and hp_symbol_characters... X-Git-Tag: prereleases/libstdc++-2.92~9887 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a82cecdad559b58d6586f8dd8a71a92a090195b4;p=thirdparty%2Fgcc.git cplus-dem.c: Move declarations of standard_symbol_characters and hp_symbol_characters inside... * cplus-dem.c: Move declarations of standard_symbol_characters and hp_symbol_characters inside #ifdef MAIN to avoid compiler warnings. From-SVN: r30175 --- diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 829b70ed19f5..58dca5328c12 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,9 @@ +1999-10-25 Jim Kingdon + + * cplus-dem.c: Move declarations of standard_symbol_characters and + hp_symbol_characters inside #ifdef MAIN to avoid compiler + warnings. + 1999-10-23 08:51 -0700 Zack Weinberg * hashtab.c (find_hash_table_entry): When returning a diff --git a/libiberty/cplus-dem.c b/libiberty/cplus-dem.c index 7e8c74f6b135..52249d2b580c 100644 --- a/libiberty/cplus-dem.c +++ b/libiberty/cplus-dem.c @@ -450,12 +450,6 @@ static void recursively_demangle PARAMS ((struct work_stuff *, const char **, string *, int)); -static const char * -standard_symbol_characters PARAMS ((void)); - -static const char * -hp_symbol_characters PARAMS ((void)); - /* Translate count to integer, consuming tokens in the process. Conversion terminates on the first non-digit character. @@ -4468,6 +4462,12 @@ fancy_abort () } +static const char * +standard_symbol_characters PARAMS ((void)); + +static const char * +hp_symbol_characters PARAMS ((void)); + /* Return the string of non-alnum characters that may occur as a valid symbol component, in the standard assembler symbol syntax. */