public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [pushed] Remove some unused typedefs from gdbserver
@ 2021-04-13 16:33 Tom Tromey
  0 siblings, 0 replies; only message in thread
From: Tom Tromey @ 2021-04-13 16:33 UTC (permalink / raw)
  To: gdb-patches; +Cc: Tom Tromey

I noticed that gdbserver/win32-low.cc has a few typedefs that are not
used.  This patch removes them.

gdbserver/ChangeLog
2021-04-13  Tom Tromey  <tromey@adacore.com>

	* win32-low.cc (winapi_CreateToolhelp32Snapshot)
	(winapi_Module32First, winapi_Module32Next): Remove typedefs.
---
 gdbserver/ChangeLog    | 5 +++++
 gdbserver/win32-low.cc | 4 ----
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/gdbserver/win32-low.cc b/gdbserver/win32-low.cc
index 1f4967320bc..6502d857732 100644
--- a/gdbserver/win32-low.cc
+++ b/gdbserver/win32-low.cc
@@ -1211,10 +1211,6 @@ win32_add_all_dlls (void)
   win32_add_dll (NULL);
 }
 
-typedef HANDLE (WINAPI *winapi_CreateToolhelp32Snapshot) (DWORD, DWORD);
-typedef BOOL (WINAPI *winapi_Module32First) (HANDLE, LPMODULEENTRY32);
-typedef BOOL (WINAPI *winapi_Module32Next) (HANDLE, LPMODULEENTRY32);
-
 /* See nat/windows-nat.h.  */
 
 void
-- 
2.26.2


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

only message in thread, other threads:[~2021-04-13 16:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-13 16:33 [pushed] Remove some unused typedefs from gdbserver 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).