From 1228cb9094f17c3b151bcb087dcdf2c1cb05ae13 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 13 Apr 2021 10:32:29 -0600 Subject: [PATCH] Remove some unused typedefs from gdbserver 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 * 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/ChangeLog b/gdbserver/ChangeLog index dfaaa604197..ff008151421 100644 --- a/gdbserver/ChangeLog +++ b/gdbserver/ChangeLog @@ -1,3 +1,8 @@ +2021-04-13 Tom Tromey + + * win32-low.cc (winapi_CreateToolhelp32Snapshot) + (winapi_Module32First, winapi_Module32Next): Remove typedefs. + 2021-04-13 Pedro Alves * Makefile.in (SFILES): Remove hostio-errno.cc. 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.30.2