From a82cecdad559b58d6586f8dd8a71a92a090195b4 Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Mon, 25 Oct 1999 22:30:08 -0600 Subject: [PATCH] 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 --- libiberty/ChangeLog | 6 ++++++ libiberty/cplus-dem.c | 12 ++++++------ 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 829b70ed19f..58dca5328c1 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 7e8c74f6b13..52249d2b580 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. */