Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [pushed] Remove notif_server_p typedef
@ 2026-11-09 17:32 Tom Tromey
  0 siblings, 0 replies; only message in thread
From: Tom Tromey @ 2026-11-09 17:32 UTC (permalink / raw)
  To: gdb-patches; +Cc: Tom Tromey

notif_server_p is declared in gdbserver/notif.h, but never used.  This
patch removes it.  Tested by rebuilding, and grep.
---
 gdbserver/notif.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/gdbserver/notif.h b/gdbserver/notif.h
index 18b507dce5b..8afedd23e27 100644
--- a/gdbserver/notif.h
+++ b/gdbserver/notif.h
@@ -55,7 +55,6 @@ struct notif_server
   /* Write event EVENT to OWN_BUF.  */
   void (*write) (struct notif_event *event, char *own_buf);
 };
-using notif_server_p = struct notif_server *;
 
 extern struct notif_server notif_stop;
 

base-commit: 3512193901c2ee73f74c004d5bbb8e0022f3418a
-- 
2.56.0


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-09 17:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-09 17:32 [pushed] Remove notif_server_p typedef Tom Tromey

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