From 64198dc744b6a6ddd2c118835da357224fe3aab5 Mon Sep 17 00:00:00 2001
From: Thomas Faber <thfabba@gmx.de>
Date: Sat, 5 Nov 2011 09:03:45 +0100
Subject: msvcrt: fix MSVC build in exit.c and msvcrt.h

---
 dlls/msvcrt/exit.c   |    2 +-
 dlls/msvcrt/msvcrt.h |   14 +++++++-------
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/dlls/msvcrt/exit.c b/dlls/msvcrt/exit.c
index fd22e62..11373b5 100644
--- a/dlls/msvcrt/exit.c
+++ b/dlls/msvcrt/exit.c
@@ -300,7 +300,7 @@ void CDECL MSVCRT_exit(int exitcode)
 {
   HMODULE hmscoree;
   static const WCHAR mscoreeW[] = {'m','s','c','o','r','e','e',0};
-  void WINAPI (*pCorExitProcess)(int);
+  void (WINAPI *pCorExitProcess)(int);
 
   TRACE("(%d)\n",exitcode);
   MSVCRT__cexit();
diff --git a/dlls/msvcrt/msvcrt.h b/dlls/msvcrt/msvcrt.h
index 671eb5b..d9eb6bd 100644
--- a/dlls/msvcrt/msvcrt.h
+++ b/dlls/msvcrt/msvcrt.h
@@ -76,14 +76,14 @@ typedef __int64 DECLSPEC_ALIGN(8) MSVCRT___time64_t;
 typedef __int64 DECLSPEC_ALIGN(8) MSVCRT_fpos_t;
 typedef int MSVCRT_mbstate_t;
 
-typedef void (*__cdecl MSVCRT_terminate_handler)(void);
-typedef void (*__cdecl MSVCRT_terminate_function)(void);
-typedef void (*__cdecl MSVCRT_unexpected_handler)(void);
-typedef void (*__cdecl MSVCRT_unexpected_function)(void);
-typedef void (*__cdecl MSVCRT__se_translator_function)(unsigned int code, struct _EXCEPTION_POINTERS *info);
-typedef void (*__cdecl MSVCRT__beginthread_start_routine_t)(void *);
+typedef void (__cdecl *MSVCRT_terminate_handler)(void);
+typedef void (__cdecl *MSVCRT_terminate_function)(void);
+typedef void (__cdecl *MSVCRT_unexpected_handler)(void);
+typedef void (__cdecl *MSVCRT_unexpected_function)(void);
+typedef void (__cdecl *MSVCRT__se_translator_function)(unsigned int code, struct _EXCEPTION_POINTERS *info);
+typedef void (__cdecl *MSVCRT__beginthread_start_routine_t)(void *);
 typedef unsigned int (__stdcall *MSVCRT__beginthreadex_start_routine_t)(void *);
-typedef int (*__cdecl MSVCRT__onexit_t)(void);
+typedef int (__cdecl *MSVCRT__onexit_t)(void);
 typedef void (__cdecl *MSVCRT_invalid_parameter_handler)(const MSVCRT_wchar_t*, const MSVCRT_wchar_t*, const MSVCRT_wchar_t*, unsigned, MSVCRT_uintptr_t);
 typedef void (__cdecl *MSVCRT_purecall_handler)(void);
 typedef void (__cdecl *MSVCRT_security_error_handler)(int, void *);
-- 
1.7.1.GIT
