gdbserver, win32: fix some function typedefs
authorMircea Gherzan <mgherzan@sourceware.org>
Tue, 2 Jul 2013 11:59:24 +0000 (11:59 +0000)
committerMircea Gherzan <mgherzan@sourceware.org>
Tue, 2 Jul 2013 11:59:24 +0000 (11:59 +0000)
2013-05-25  Mircea Gherzan  <mircea.gherzan@intel.com>

gdbserver/
* win32-low.c (winapi_DebugActiveProcessStop): Move the WINAPI
attribute inside the parentheses.
(winapi_DebugSetProcessKillOnExit): Ditto.
(winapi_DebugBreakProcess): Ditto.
(winapi_GenerateConsoleCtrlEvent): Ditto.

Change-Id: I3aab72f2a1725a46b9da0e41a4ba08d7886284b9
Signed-off-by: Mircea Gherzan <mircea.gherzan@intel.com>
gdb/gdbserver/ChangeLog
gdb/gdbserver/win32-low.c

index e416a26da9432c16c17338fb1ae7a20efc4f0ead..7171cfa31bca3673f1942ebb7b869b7b5792d32c 100644 (file)
@@ -1,3 +1,11 @@
+2013-07-02  Mircea Gherzan  <mircea.gherzan@intel.com>
+
+       * win32-low.c (winapi_DebugActiveProcessStop): Move the WINAPI
+       attribute inside the parentheses.
+       (winapi_DebugSetProcessKillOnExit): Ditto.
+       (winapi_DebugBreakProcess): Ditto.
+       (winapi_GenerateConsoleCtrlEvent): Ditto.
+       
 2013-07-02  Mircea Gherzan  <mircea.gherzan@intel.com>
 
        * notif.h (notif_event): Add a dummy member to avoid compiler
index 30fd1e74e91891925a5a191e6639fd931c0a6769..4e87a43a4c52a3d1d8ba006058d17204f2c3c53a 100644 (file)
@@ -90,10 +90,10 @@ const struct target_desc *win32_tdesc;
 
 #define NUM_REGS (the_low_target.num_regs)
 
-typedef BOOL WINAPI (*winapi_DebugActiveProcessStop) (DWORD dwProcessId);
-typedef BOOL WINAPI (*winapi_DebugSetProcessKillOnExit) (BOOL KillOnExit);
-typedef BOOL WINAPI (*winapi_DebugBreakProcess) (HANDLE);
-typedef BOOL WINAPI (*winapi_GenerateConsoleCtrlEvent) (DWORD, DWORD);
+typedef BOOL (WINAPI *winapi_DebugActiveProcessStop) (DWORD dwProcessId);
+typedef BOOL (WINAPI *winapi_DebugSetProcessKillOnExit) (BOOL KillOnExit);
+typedef BOOL (WINAPI *winapi_DebugBreakProcess) (HANDLE);
+typedef BOOL (WINAPI *winapi_GenerateConsoleCtrlEvent) (DWORD, DWORD);
 
 static void win32_resume (struct thread_resume *resume_info, size_t n);
 
This page took 0.041527 seconds and 4 git commands to generate.