[patch/ARI] remove unused decls in ada-lang.c
Joel Brobecker
brobecker@gnat.com
Sun Jun 27 18:57:00 GMT 2004
Hello,
I just applied the following obvious patch. It should improve our ARI
score :-).
2004-06-27 Joel Brobecker <brobecker@gnat.com>
* ada-lang.c (symtab_symbol_info): Remove unused declaration.
(no_symtab_msg): Likewise.
--
Joel
-------------- next part --------------
Index: ada-lang.c
===================================================================
RCS file: /cvs/src/src/gdb/ada-lang.c,v
retrieving revision 1.39
diff -u -p -r1.39 ada-lang.c
--- ada-lang.c 18 Jun 2004 21:36:14 -0000 1.39
+++ ada-lang.c 27 Jun 2004 18:53:49 -0000
@@ -255,9 +255,6 @@ static struct value *value_val_atr (stru
static struct symbol *standard_lookup (const char *, const struct block *,
domain_enum);
-extern void symtab_symbol_info (char *regexp, domain_enum kind,
- int from_tty);
-
static struct value *ada_search_struct_field (char *, struct value *, int,
struct type *);
@@ -5421,9 +5418,6 @@ ada_make_symbol_completion_list (const c
#ifdef GNAT_GDB
/* Breakpoint-related */
-/* Import message from symtab.c. */
-extern char no_symtab_msg[];
-
/* Assuming that LINE is pointing at the beginning of an argument to
'break', return a pointer to the delimiter for the initial segment
of that name. This is the first ':', ' ', or end of LINE. */
More information about the Gdb-patches
mailing list