From 388fe7e371977eaeddfaf8b49cd723551a3ca9f8 Mon Sep 17 00:00:00 2001 From: Andrew Talbot Date: Tue, 6 Feb 2007 22:05:44 +0000 Subject: [PATCH] shell32: Declare some functions static. --- dlls/shell32/shfldr_fs.c | 2 +- dlls/shell32/shlexec.c | 2 +- dlls/shell32/shlfileop.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dlls/shell32/shfldr_fs.c b/dlls/shell32/shfldr_fs.c index 208c1d36a83..5fda4af321d 100644 --- a/dlls/shell32/shfldr_fs.c +++ b/dlls/shell32/shfldr_fs.c @@ -1158,7 +1158,7 @@ ISFHelper_fnAddFolder (ISFHelper * iface, HWND hwnd, LPCWSTR pwszName, * Builds a list of paths like the one used in SHFileOperation from a table of * PIDLs relative to the given base folder */ -WCHAR *build_paths_list(LPCWSTR wszBasePath, int cidl, LPCITEMIDLIST *pidls) +static WCHAR *build_paths_list(LPCWSTR wszBasePath, int cidl, LPCITEMIDLIST *pidls) { WCHAR *wszPathsList; WCHAR *wszListPos; diff --git a/dlls/shell32/shlexec.c b/dlls/shell32/shlexec.c index 900cea6afb0..2d4a25e6740 100644 --- a/dlls/shell32/shlexec.c +++ b/dlls/shell32/shlexec.c @@ -295,7 +295,7 @@ static BOOL SHELL_ArgifyW(WCHAR* out, int len, const WCHAR* fmt, const WCHAR* lp return found_p1; } -HRESULT SHELL_GetPathFromIDListForExecuteW(LPCITEMIDLIST pidl, LPWSTR pszPath, UINT uOutSize) +static HRESULT SHELL_GetPathFromIDListForExecuteW(LPCITEMIDLIST pidl, LPWSTR pszPath, UINT uOutSize) { STRRET strret; IShellFolder* desktop; diff --git a/dlls/shell32/shlfileop.c b/dlls/shell32/shlfileop.c index 1aa41de7e66..ac38957ee86 100644 --- a/dlls/shell32/shlfileop.c +++ b/dlls/shell32/shlfileop.c @@ -662,7 +662,7 @@ static DWORD SHFindAttrW(LPCWSTR pName, BOOL fileOnly) * otherwise the ASCII strings are copied into it and the buffer is increased * to point to the location after the final 0 termination char. */ -DWORD SHNameTranslate(LPWSTR* wString, LPCWSTR* pWToFrom, BOOL more) +static DWORD SHNameTranslate(LPWSTR* wString, LPCWSTR* pWToFrom, BOOL more) { DWORD size = 0, aSize = 0; LPCSTR aString = (LPCSTR)*pWToFrom; -- 2.11.4.GIT