This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
FYI: remove unused declaration
- From: Tom Tromey <tromey at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Thu, 13 Aug 2009 11:06:06 -0600
- Subject: FYI: remove unused declaration
- Reply-to: Tom Tromey <tromey at redhat dot com>
I'm checking this in.
I happened across this long-since-obsolete declaration the other day.
This patch removes it. There is no corresponding definition.
Tom
2009-08-13 Tom Tromey <tromey@redhat.com>
* language.h (longest_raw_hex_string): Remove unused declaration.
Index: language.h
===================================================================
RCS file: /cvs/src/src/gdb/language.h,v
retrieving revision 1.58
diff -u -r1.58 language.h
--- language.h 10 Jul 2009 10:35:16 -0000 1.58
+++ language.h 13 Aug 2009 17:05:12 -0000
@@ -411,15 +411,6 @@
&& ((c) < 0x7F || (c) >= 0xA0) \
&& (!sevenbit_strings || (c) < 0x80))
-#if 0
-/* FIXME: cagney/2000-03-04: This function does not appear to be used.
- It can be deleted once 5.0 has been released. */
-/* Return a string that contains the hex digits of the number. No preceeding
- "0x" */
-
-extern char *longest_raw_hex_string (LONGEST);
-#endif
-
/* Type predicates */
extern int simple_type (struct type *);