shell32: Declare some functions static (3 of 4)
Andrew Talbot
Andrew.Talbot at talbotville.com
Tue Feb 6 16:05:44 CST 2007
Changelog:
shell32: Declare some functions static (3 of 4).
diff -urN a/dlls/shell32/shfldr_fs.c b/dlls/shell32/shfldr_fs.c
--- a/dlls/shell32/shfldr_fs.c 2006-11-28 17:52:29.000000000 +0000
+++ b/dlls/shell32/shfldr_fs.c 2007-02-06 21:41:04.000000000 +0000
@@ -1158,7 +1158,7 @@
* 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 -urN a/dlls/shell32/shlexec.c b/dlls/shell32/shlexec.c
--- a/dlls/shell32/shlexec.c 2007-02-06 17:51:12.000000000 +0000
+++ b/dlls/shell32/shlexec.c 2007-02-06 21:42:26.000000000 +0000
@@ -295,7 +295,7 @@
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 -urN a/dlls/shell32/shlfileop.c b/dlls/shell32/shlfileop.c
--- a/dlls/shell32/shlfileop.c 2006-12-11 17:28:38.000000000 +0000
+++ b/dlls/shell32/shlfileop.c 2007-02-06 21:43:08.000000000 +0000
@@ -662,7 +662,7 @@
* 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;
More information about the wine-patches
mailing list