FYI: remove some unused declarations from ada-lang.h

Tom Tromey tromey@redhat.com
Thu Oct 27 15:56:00 GMT 2011


I'm checking this in.

While looking into all things decode_line_*, I ran across some
declarations in ada-lang.h that do not have corresponding definitions.

This patch removes these.

Tested by rebuilding on x86-64 F15.

Tom

2011-10-27  Tom Tromey  <tromey@redhat.com>

	* ada-lang.h (ada_start_decode_line_1, ada_finish_decode_line_1)
	(ada_sals_for_line): Remove declarations.

Index: ada-lang.h
===================================================================
RCS file: /cvs/src/src/gdb/ada-lang.h,v
retrieving revision 1.67
diff -u -r1.67 ada-lang.h
--- ada-lang.h	3 Oct 2011 21:38:31 -0000	1.67
+++ ada-lang.h	27 Oct 2011 15:30:46 -0000
@@ -238,15 +238,6 @@
 
 extern int get_selections (int *, int, int, int, char *);
 
-extern char *ada_start_decode_line_1 (char *);
-
-extern struct symtabs_and_lines ada_finish_decode_line_1 (char **,
-                                                          struct symtab *,
-                                                          int, char ***);
-
-extern struct symtabs_and_lines ada_sals_for_line (const char*, int,
-						   int, char***, int);
-
 extern int ada_scan_number (const char *, int, LONGEST *, int *);
 
 extern struct type *ada_parent_type (struct type *);



More information about the Gdb-patches mailing list