diff --git a/programs/winecfg/winecfg.c b/programs/winecfg/winecfg.c index 543daf1d855..1abf8edad34 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 43fb27842f8..f929500e4ef 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);