aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdbserver/ChangeLog5
-rw-r--r--gdbserver/win32-low.cc4
2 files changed, 5 insertions, 4 deletions
diff --git a/gdbserver/ChangeLog b/gdbserver/ChangeLog
index dfaaa60..ff00815 100644
--- a/gdbserver/ChangeLog
+++ b/gdbserver/ChangeLog
@@ -1,3 +1,8 @@
+2021-04-13 Tom Tromey <tromey@adacore.com>
+
+ * win32-low.cc (winapi_CreateToolhelp32Snapshot)
+ (winapi_Module32First, winapi_Module32Next): Remove typedefs.
+
2021-04-13 Pedro Alves <pedro@palves.net>
* Makefile.in (SFILES): Remove hostio-errno.cc.
diff --git a/gdbserver/win32-low.cc b/gdbserver/win32-low.cc
index 1f49673..6502d85 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