Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* FYI: remove some unused declarations from ada-lang.h
@ 2011-10-27 15:56 Tom Tromey
  2011-10-27 15:59 ` Joel Brobecker
  0 siblings, 1 reply; 2+ messages in thread
From: Tom Tromey @ 2011-10-27 15:56 UTC (permalink / raw)
  To: gdb-patches

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 *);


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: FYI: remove some unused declarations from ada-lang.h
  2011-10-27 15:56 FYI: remove some unused declarations from ada-lang.h Tom Tromey
@ 2011-10-27 15:59 ` Joel Brobecker
  0 siblings, 0 replies; 2+ messages in thread
From: Joel Brobecker @ 2011-10-27 15:59 UTC (permalink / raw)
  To: Tom Tromey; +Cc: gdb-patches

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

Ooops!

> 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.

Thank you!

-- 
Joel


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-10-27 15:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-27 15:56 FYI: remove some unused declarations from ada-lang.h Tom Tromey
2011-10-27 15:59 ` Joel Brobecker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox