diff --git a/dlls/shell32/pidl.c b/dlls/shell32/pidl.c index bee71664144..5dc07a1e4eb 100644 --- a/dlls/shell32/pidl.c +++ b/dlls/shell32/pidl.c @@ -55,6 +55,9 @@ WINE_DECLARE_DEBUG_CHANNEL(shell); extern LPVOID WINAPI Alloc(INT); extern BOOL WINAPI Free(LPVOID); +static LPSTR _ILGetSTextPointer(LPCITEMIDLIST pidl); +static LPWSTR _ILGetTextPointerW(LPCITEMIDLIST pidl); + /************************************************************************* * ILGetDisplayNameEx [SHELL32.186] * @@ -1901,7 +1904,7 @@ LPPIDLDATA _ILGetDataPointer(LPCITEMIDLIST pidl) * _ILGetTextPointerW() * gets a pointer to the unicode long filename string stored in the pidl */ -LPWSTR _ILGetTextPointerW(LPCITEMIDLIST pidl) +static LPWSTR _ILGetTextPointerW(LPCITEMIDLIST pidl) { /* TRACE(pidl,"(pidl%p)\n", pidl);*/ @@ -1994,7 +1997,7 @@ LPSTR _ILGetTextPointer(LPCITEMIDLIST pidl) * _ILGetSTextPointer() * gets a pointer to the short filename string stored in the pidl */ -LPSTR _ILGetSTextPointer(LPCITEMIDLIST pidl) +static LPSTR _ILGetSTextPointer(LPCITEMIDLIST pidl) { /* TRACE(pidl,"(pidl%p)\n", pidl); */ diff --git a/dlls/shell32/pidl.h b/dlls/shell32/pidl.h index 65105efad77..0a84c4c5270 100644 --- a/dlls/shell32/pidl.h +++ b/dlls/shell32/pidl.h @@ -254,8 +254,6 @@ LPITEMIDLIST _ILCreateEntireNetwork (void); */ LPPIDLDATA _ILGetDataPointer (LPCITEMIDLIST); LPSTR _ILGetTextPointer (LPCITEMIDLIST); -LPWSTR _ILGetTextPointerW (LPCITEMIDLIST); -LPSTR _ILGetSTextPointer (LPCITEMIDLIST); IID *_ILGetGUIDPointer (LPCITEMIDLIST pidl); FileStructW *_ILGetFileStructW (LPCITEMIDLIST pidl); diff --git a/dlls/shell32/xdg.c b/dlls/shell32/xdg.c index 0cb4272c88f..4d2aacdebe4 100644 --- a/dlls/shell32/xdg.c +++ b/dlls/shell32/xdg.c @@ -159,7 +159,7 @@ static char *load_path(int path_id) * * The paths are guaranteed to start with '/' */ -const char *XDG_GetPath(int path_id) +static const char *XDG_GetPath(int path_id) { if (path_id >= PATHS_COUNT || path_id < 0) { diff --git a/dlls/shell32/xdg.h b/dlls/shell32/xdg.h index 4ff2dba3674..daa864fc2db 100644 --- a/dlls/shell32/xdg.h +++ b/dlls/shell32/xdg.h @@ -25,7 +25,6 @@ #define XDG_CONFIG_DIRS 3 #define XDG_CACHE_HOME 4 -const char *XDG_GetPath(int path_id); char *XDG_BuildPath(int root_id, const char *subpath); int XDG_MakeDirs(const char *path);