Francois Gouget : winecfg: Make enumerate_valuesW() static.
Alexandre Julliard
julliard at winehq.org
Mon Jan 26 10:14:31 CST 2009
Module: wine
Branch: master
Commit: 0e01daa3e71a1bb110f46e130b5644feeed5ddc3
URL: http://source.winehq.org/git/wine.git/?a=commit;h=0e01daa3e71a1bb110f46e130b5644feeed5ddc3
Author: Francois Gouget <fgouget at free.fr>
Date: Mon Jan 26 12:52:34 2009 +0100
winecfg: Make enumerate_valuesW() static.
---
programs/winecfg/winecfg.c | 2 +-
programs/winecfg/winecfg.h | 1 -
2 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/programs/winecfg/winecfg.c b/programs/winecfg/winecfg.c
index 543daf1..1abf8ed 100644
--- a/programs/winecfg/winecfg.c
+++ b/programs/winecfg/winecfg.c
@@ -478,7 +478,7 @@ void set_reg_key_dwordW(HKEY root, const WCHAR *path, const WCHAR *name, DWORD v
* you are expected to HeapFree each element of the array, which is null
* terminated, as well as the array itself.
*/
-WCHAR **enumerate_valuesW(HKEY root, WCHAR *path)
+static WCHAR **enumerate_valuesW(HKEY root, WCHAR *path)
{
HKEY key;
DWORD res, i = 0, valueslen = 0;
diff --git a/programs/winecfg/winecfg.h b/programs/winecfg/winecfg.h
index 43fb278..f929500 100644
--- a/programs/winecfg/winecfg.h
+++ b/programs/winecfg/winecfg.h
@@ -54,7 +54,6 @@ extern WCHAR* current_app; /* NULL means editing global settings */
void set_reg_keyW(HKEY root, const WCHAR *path, const WCHAR *name, const WCHAR *value);
void set_reg_key_dwordW(HKEY root, const WCHAR *path, const WCHAR *name, DWORD value);
WCHAR *get_reg_keyW(HKEY root, const WCHAR *path, const WCHAR *name, const WCHAR *def);
-WCHAR **enumerate_valuesW(HKEY root, WCHAR *path);
void set_reg_key(HKEY root, const char *path, const char *name, const char *value);
void set_reg_key_dword(HKEY root, const char *path, const char *name, DWORD value);
More information about the wine-cvs
mailing list