shell32: Declare some functions static.

This commit is contained in:
Andrew Talbot 2009-01-24 16:04:27 +00:00 committed by Alexandre Julliard
parent f4eb36531f
commit 8838dcb4ce
4 changed files with 6 additions and 6 deletions

View File

@ -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); */

View File

@ -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);

View File

@ -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)
{

View File

@ -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);