[pushed] Remove unused declaration from gdbserver/win32-low.h

Message ID 20210907181712.3527210-1-tromey@adacore.com
State New
Headers show
Series
  • [pushed] Remove unused declaration from gdbserver/win32-low.h
Related show

Commit Message

Tom Tromey Sept. 7, 2021, 6:17 p.m.
I noticed that gdbserver/win32-low.h has an unused declaration.  This
code was changed a while ago, but this declaration slipped through.
This patch removes it.  Tested by rebuilding.
---
 gdbserver/win32-low.h | 3 ---
 1 file changed, 3 deletions(-)

-- 
2.31.1

Patch

diff --git a/gdbserver/win32-low.h b/gdbserver/win32-low.h
index fce19e49dec..11c318e25a5 100644
--- a/gdbserver/win32-low.h
+++ b/gdbserver/win32-low.h
@@ -29,9 +29,6 @@  struct target_desc;
 extern const struct target_desc *win32_tdesc;
 #ifdef __x86_64__
 extern const struct target_desc *wow64_win32_tdesc;
-
-typedef BOOL (WINAPI *winapi_Wow64GetThreadContext) (HANDLE, PWOW64_CONTEXT);
-extern winapi_Wow64GetThreadContext win32_Wow64GetThreadContext;
 #endif
 
 struct win32_target_ops