From: Tom Tromey Date: Tue, 13 Apr 2021 16:32:29 +0000 (-0600) Subject: Remove some unused typedefs from gdbserver X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1228cb9094f17c3b151bcb087dcdf2c1cb05ae13;p=binutils-gdb.git 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. --- 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