Commit 8838dcb4 authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

shell32: Declare some functions static.

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