Andrew Talbot : shell32: Declare some functions static.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Feb 7 04:53:12 CST 2007


Module: wine
Branch: master
Commit: 388fe7e371977eaeddfaf8b49cd723551a3ca9f8
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=388fe7e371977eaeddfaf8b49cd723551a3ca9f8

Author: Andrew Talbot <Andrew.Talbot at talbotville.com>
Date:   Tue Feb  6 22:05:44 2007 +0000

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 208c1d3..5fda4af 100644
--- a/dlls/shell32/shfldr_fs.c
+++ b/dlls/shell32/shfldr_fs.c
@@ -1158,7 +1158,7 @@ ISFHelper_fnAddFolder (ISFHelper * iface
  * 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 900cea6..2d4a25e 100644
--- a/dlls/shell32/shlexec.c
+++ b/dlls/shell32/shlexec.c
@@ -295,7 +295,7 @@ static BOOL SHELL_ArgifyW(WCHAR* out, in
     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 1aa41de..ac38957 100644
--- a/dlls/shell32/shlfileop.c
+++ b/dlls/shell32/shlfileop.c
@@ -662,7 +662,7 @@ static DWORD SHFindAttrW(LPCWSTR pName,
  * 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-cvs mailing list