public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [pushed] Remove unused declaration
@ 2022-01-26 21:34 Tom Tromey
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Tromey @ 2022-01-26 21:34 UTC (permalink / raw)
  To: gdb-patches; +Cc: Tom Tromey

This removes an unused declaration from top.h.  This type is not
defined anywhere.
---
 gdb/top.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/gdb/top.h b/gdb/top.h
index 25361d0effa..b26209e8c8d 100644
--- a/gdb/top.h
+++ b/gdb/top.h
@@ -25,8 +25,6 @@
 #include "gdbsupport/next-iterator.h"
 #include "value.h"
 
-struct tl_interp_info;
-
 /* Prompt state.  */
 
 enum prompt_state
-- 
2.31.1


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

* [pushed] Remove unused declaration
@ 2023-11-03 19:27 Tom Tromey
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Tromey @ 2023-11-03 19:27 UTC (permalink / raw)
  To: gdb-patches; +Cc: Tom Tromey

I found a declaration in py-stopevent.h for which there is no
definition.  This patch removes it.
---
 gdb/python/py-stopevent.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/gdb/python/py-stopevent.h b/gdb/python/py-stopevent.h
index 023459ff200..649112f0488 100644
--- a/gdb/python/py-stopevent.h
+++ b/gdb/python/py-stopevent.h
@@ -23,7 +23,6 @@
 #include "py-event.h"
 
 extern gdbpy_ref<> create_stop_event_object (PyTypeObject *py_type);
-extern void stop_evpy_dealloc (PyObject *self);
 
 extern int emit_stop_event (struct bpstat *bs,
 			    enum gdb_signal stop_signal);
-- 
2.40.1


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

end of thread, other threads:[~2023-11-03 19:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-26 21:34 [pushed] Remove unused declaration Tom Tromey
2023-11-03 19:27 Tom Tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).