winecfg: Make enumerate_valuesW() static.
This commit is contained in:
parent
0a6665bfef
commit
0e01daa3e7
|
@ -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
|
* you are expected to HeapFree each element of the array, which is null
|
||||||
* terminated, as well as the array itself.
|
* terminated, as well as the array itself.
|
||||||
*/
|
*/
|
||||||
WCHAR **enumerate_valuesW(HKEY root, WCHAR *path)
|
static WCHAR **enumerate_valuesW(HKEY root, WCHAR *path)
|
||||||
{
|
{
|
||||||
HKEY key;
|
HKEY key;
|
||||||
DWORD res, i = 0, valueslen = 0;
|
DWORD res, i = 0, valueslen = 0;
|
||||||
|
|
|
@ -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_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);
|
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 *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(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);
|
void set_reg_key_dword(HKEY root, const char *path, const char *name, DWORD value);
|
||||||
|
|
Loading…
Reference in New Issue