diff options
author | Jim Kingdon <kingdon@redhat.com> | 1999-10-25 22:30:08 -0600 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1999-10-25 22:30:08 -0600 |
commit | a82cecdad559b58d6586f8dd8a71a92a090195b4 (patch) | |
tree | 354a28b66ea038b60f8b926b6c49d4a548a2ae13 | |
parent | a36335da46c1f168512818d9307b7002f868194c (diff) | |
download | gcc-a82cecdad559b58d6586f8dd8a71a92a090195b4.zip gcc-a82cecdad559b58d6586f8dd8a71a92a090195b4.tar.gz gcc-a82cecdad559b58d6586f8dd8a71a92a090195b4.tar.bz2 |
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
-rw-r--r-- | libiberty/ChangeLog | 6 | ||||
-rw-r--r-- | libiberty/cplus-dem.c | 12 |
2 files changed, 12 insertions, 6 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 829b70e..58dca53 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,9 @@ +1999-10-25 Jim Kingdon <http://developer.redhat.com/> + + * 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 <zack@bitmover.com> * hashtab.c (find_hash_table_entry): When returning a diff --git a/libiberty/cplus-dem.c b/libiberty/cplus-dem.c index 7e8c74f..52249d2 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. */ |