winecfg: Make enumerate_valuesW() static.

Francois Gouget fgouget at free.fr
Mon Jan 26 05:52:34 CST 2009


---

The other files only use enumerate_values().


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




More information about the wine-patches mailing list