From 5dd42ef455069a3a7787c177ffdf5789d7cebed1 Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Thu, 16 Nov 2000 09:07:59 +0000 Subject: [PATCH] * cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for parameter `option'. Do s/cplus_dem.c/cplus-dem.c/g on ChangeLog. --- libiberty/ChangeLog | 9 +++++++-- libiberty/cplus-dem.c | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 6bdfe058347..4b744d28caf 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,8 @@ +2000-11-15 Hans-Peter Nilsson + + * cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for + parameter `option'. + 2000-11-15 Kenneth Block * cplus-dem.c: Eliminate use of DEFUN, it is obsolete and cannot @@ -5,7 +10,7 @@ 2000-11-15 Kenneth Block - * cplus_dem.c: Add gnat demangler. Add java to demangle style + * cplus-dem.c: Add gnat demangler. Add java to demangle style list. 2000-11-04 Hans-Peter Nilsson @@ -3647,7 +3652,7 @@ Thu Feb 11 22:20:47 1993 Fred Fish (fnf@cygnus.com) * cplus-dem.c (string_prepends): Used now, remove #if 0. * cplus-dem.c (demangle_signature): Call demangle_qualified with prepending. - * cplus_dem.c (gnu_special): Recognize static data members that + * cplus-dem.c (gnu_special): Recognize static data members that use qualified names. * cplus-dem.c (demangle_qualified): Accumulate qualifiers in a temporary buffer and the prepend or append them to the result, diff --git a/libiberty/cplus-dem.c b/libiberty/cplus-dem.c index ff72322fc20..78d95d0ec09 100644 --- a/libiberty/cplus-dem.c +++ b/libiberty/cplus-dem.c @@ -953,7 +953,7 @@ grow_vect (old_vect, size, min_size, element_size) static char * ada_demangle (mangled, option) const char* mangled; - int option; + int option ATTRIBUTE_UNUSED; { int i, j; int len0; -- 2.30.2