From 99bde8b0b4f31e1280f73526227209e2ad67e609 Mon Sep 17 00:00:00 2001 From: Rob Shearman Date: Tue, 19 Feb 2008 11:37:21 +0000 Subject: [PATCH] shdocvw: The WINAPI modifier on function pointers should become before the '*' for portability. --- dlls/shdocvw/shdocvw_main.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dlls/shdocvw/shdocvw_main.c b/dlls/shdocvw/shdocvw_main.c index 8338eeb975..99af73b9e5 100644 --- a/dlls/shdocvw/shdocvw_main.c +++ b/dlls/shdocvw/shdocvw_main.c @@ -217,7 +217,7 @@ static void* fetch_shlwapi_ordinal(unsigned ord) */ DWORD WINAPI WhichPlatformFORWARD(void) { - static DWORD (*WINAPI p)(void); + static DWORD (WINAPI *p)(void); if (p || (p = fetch_shlwapi_ordinal(276))) return p(); return 1; /* not integrated, see shlwapi.WhichPlatform */ @@ -228,7 +228,7 @@ DWORD WINAPI WhichPlatformFORWARD(void) */ void WINAPI StopWatchModeFORWARD(void) { - static void (*WINAPI p)(void); + static void (WINAPI *p)(void); if (p || (p = fetch_shlwapi_ordinal(241))) p(); } @@ -238,7 +238,7 @@ void WINAPI StopWatchModeFORWARD(void) */ void WINAPI StopWatchFlushFORWARD(void) { - static void (*WINAPI p)(void); + static void (WINAPI *p)(void); if (p || (p = fetch_shlwapi_ordinal(242))) p(); } @@ -249,7 +249,7 @@ void WINAPI StopWatchFlushFORWARD(void) DWORD WINAPI StopWatchWFORWARD(DWORD dwClass, LPCWSTR lpszStr, DWORD dwUnknown, DWORD dwMode, DWORD dwTimeStamp) { - static DWORD (*WINAPI p)(DWORD, LPCWSTR, DWORD, DWORD, DWORD); + static DWORD (WINAPI *p)(DWORD, LPCWSTR, DWORD, DWORD, DWORD); if (p || (p = fetch_shlwapi_ordinal(243))) return p(dwClass, lpszStr, dwUnknown, dwMode, dwTimeStamp); @@ -262,7 +262,7 @@ DWORD WINAPI StopWatchWFORWARD(DWORD dwClass, LPCWSTR lpszStr, DWORD dwUnknown, DWORD WINAPI StopWatchAFORWARD(DWORD dwClass, LPCSTR lpszStr, DWORD dwUnknown, DWORD dwMode, DWORD dwTimeStamp) { - static DWORD (*WINAPI p)(DWORD, LPCSTR, DWORD, DWORD, DWORD); + static DWORD (WINAPI *p)(DWORD, LPCSTR, DWORD, DWORD, DWORD); if (p || (p = fetch_shlwapi_ordinal(244))) return p(dwClass, lpszStr, dwUnknown, dwMode, dwTimeStamp);