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 e416a26..7171cfa 100644 (file)
@@ -1,5 +1,13 @@
 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
        errors.
 
index 30fd1e7..4e87a43 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);