summaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1999-10-26 04:30:08 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1999-10-26 04:30:08 +0000
commit9087cad2056370bd663ddf51c6400a9908cd0724 (patch)
tree354a28b66ea038b60f8b926b6c49d4a548a2ae13 /libiberty
parent965506c67dbaf4ac817e072cf4b7365a68c8c337 (diff)
downloadgcc-9087cad2056370bd663ddf51c6400a9908cd0724.tar.gz
* cplus-dem.c: Move declarations of standard_symbol_characters and
hp_symbol_characters inside #ifdef MAIN to avoid compiler warnings. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30175 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty')
-rw-r--r--libiberty/ChangeLog6
-rw-r--r--libiberty/cplus-dem.c12
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 <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 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. */