diff options
author | Tom Tromey <tromey@adacore.com> | 2021-04-13 10:32:29 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2021-04-13 10:32:29 -0600 |
commit | 1228cb9094f17c3b151bcb087dcdf2c1cb05ae13 (patch) | |
tree | 82c60d95eb08b9c62b9c89a75a6c5ae5cb61d434 /gdbserver | |
parent | 329534fda79702d50374304d1b724bc0b83a9421 (diff) | |
download | gdb-1228cb9094f17c3b151bcb087dcdf2c1cb05ae13.zip gdb-1228cb9094f17c3b151bcb087dcdf2c1cb05ae13.tar.gz gdb-1228cb9094f17c3b151bcb087dcdf2c1cb05ae13.tar.bz2 |
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 <tromey@adacore.com>
* win32-low.cc (winapi_CreateToolhelp32Snapshot)
(winapi_Module32First, winapi_Module32Next): Remove typedefs.
Diffstat (limited to 'gdbserver')
-rw-r--r-- | gdbserver/ChangeLog | 5 | ||||
-rw-r--r-- | gdbserver/win32-low.cc | 4 |
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 |