Commit a3973e0c authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

shlwapi: Remove WINAPI on static functions where not needed.

parent abe85bcb
...@@ -76,8 +76,7 @@ BOOL WINAPI SHAboutInfoW(LPWSTR,DWORD); ...@@ -76,8 +76,7 @@ BOOL WINAPI SHAboutInfoW(LPWSTR,DWORD);
* *
* Internal implemetation of SHLWAPI_11. * Internal implemetation of SHLWAPI_11.
*/ */
static static HANDLE SHLWAPI_DupSharedHandle(HANDLE hShared, DWORD dwDstProcId,
HANDLE WINAPI SHLWAPI_DupSharedHandle(HANDLE hShared, DWORD dwDstProcId,
DWORD dwSrcProcId, DWORD dwAccess, DWORD dwSrcProcId, DWORD dwAccess,
DWORD dwOptions) DWORD dwOptions)
{ {
...@@ -3546,7 +3545,7 @@ HRESULT WINAPI SHIShellFolder_EnumObjects(LPSHELLFOLDER lpFolder, HWND hwnd, SHC ...@@ -3546,7 +3545,7 @@ HRESULT WINAPI SHIShellFolder_EnumObjects(LPSHELLFOLDER lpFolder, HWND hwnd, SHC
} }
/* INTERNAL: Map from HLS color space to RGB */ /* INTERNAL: Map from HLS color space to RGB */
static WORD WINAPI ConvertHue(int wHue, WORD wMid1, WORD wMid2) static WORD ConvertHue(int wHue, WORD wMid1, WORD wMid2)
{ {
wHue = wHue > 240 ? wHue - 240 : wHue < 0 ? wHue + 240 : wHue; wHue = wHue > 240 ? wHue - 240 : wHue < 0 ? wHue + 240 : wHue;
......
...@@ -1156,7 +1156,7 @@ BOOL WINAPI PathFileExistsDefExtA(LPSTR lpszPath,DWORD dwWhich) ...@@ -1156,7 +1156,7 @@ BOOL WINAPI PathFileExistsDefExtA(LPSTR lpszPath,DWORD dwWhich)
* *
* Internal helper for SHLWAPI_PathFindOnPathExA/W. * Internal helper for SHLWAPI_PathFindOnPathExA/W.
*/ */
static BOOL WINAPI SHLWAPI_PathFindInOtherDirs(LPWSTR lpszFile, DWORD dwWhich) static BOOL SHLWAPI_PathFindInOtherDirs(LPWSTR lpszFile, DWORD dwWhich)
{ {
static const WCHAR szSystem[] = { 'S','y','s','t','e','m','\0'}; static const WCHAR szSystem[] = { 'S','y','s','t','e','m','\0'};
static const WCHAR szPath[] = { 'P','A','T','H','\0'}; static const WCHAR szPath[] = { 'P','A','T','H','\0'};
...@@ -1792,7 +1792,7 @@ BOOL WINAPI PathFileExistsAndAttributesW(LPCWSTR lpszPath, DWORD *dwAttr) ...@@ -1792,7 +1792,7 @@ BOOL WINAPI PathFileExistsAndAttributesW(LPCWSTR lpszPath, DWORD *dwAttr)
/************************************************************************* /*************************************************************************
* PathMatchSingleMaskA [internal] * PathMatchSingleMaskA [internal]
*/ */
static BOOL WINAPI PathMatchSingleMaskA(LPCSTR name, LPCSTR mask) static BOOL PathMatchSingleMaskA(LPCSTR name, LPCSTR mask)
{ {
while (*name && *mask && *mask!=';') while (*name && *mask && *mask!=';')
{ {
...@@ -1826,7 +1826,7 @@ static BOOL WINAPI PathMatchSingleMaskA(LPCSTR name, LPCSTR mask) ...@@ -1826,7 +1826,7 @@ static BOOL WINAPI PathMatchSingleMaskA(LPCSTR name, LPCSTR mask)
/************************************************************************* /*************************************************************************
* PathMatchSingleMaskW [internal] * PathMatchSingleMaskW [internal]
*/ */
static BOOL WINAPI PathMatchSingleMaskW(LPCWSTR name, LPCWSTR mask) static BOOL PathMatchSingleMaskW(LPCWSTR name, LPCWSTR mask)
{ {
while (*name && *mask && *mask != ';') while (*name && *mask && *mask != ';')
{ {
...@@ -2991,7 +2991,7 @@ UINT WINAPI PathGetCharTypeW(WCHAR ch) ...@@ -2991,7 +2991,7 @@ UINT WINAPI PathGetCharTypeW(WCHAR ch)
* *
* Internal helper for PathMakeSystemFolderW. * Internal helper for PathMakeSystemFolderW.
*/ */
static BOOL WINAPI SHLWAPI_UseSystemForSystemFolders(void) static BOOL SHLWAPI_UseSystemForSystemFolders(void)
{ {
static BOOL bCheckedReg = FALSE; static BOOL bCheckedReg = FALSE;
static BOOL bUseSystemForSystemFolders = FALSE; static BOOL bUseSystemForSystemFolders = FALSE;
......
...@@ -66,7 +66,7 @@ HRESULT WINAPI SHRegGetCLSIDKeyW(REFGUID,LPCWSTR,BOOL,BOOL,PHKEY); ...@@ -66,7 +66,7 @@ HRESULT WINAPI SHRegGetCLSIDKeyW(REFGUID,LPCWSTR,BOOL,BOOL,PHKEY);
* Function: Return the proper registry key from the HUSKEY structure * Function: Return the proper registry key from the HUSKEY structure
* also allow special predefined values. * also allow special predefined values.
*/ */
static HKEY WINAPI REG_GetHKEYFromHUSKEY(HUSKEY hUSKey, BOOL which) static HKEY REG_GetHKEYFromHUSKEY(HUSKEY hUSKey, BOOL which)
{ {
HKEY test = hUSKey; HKEY test = hUSKey;
LPSHUSKEY mihk = hUSKey; LPSHUSKEY mihk = hUSKey;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment