From 0e01daa3e71a1bb110f46e130b5644feeed5ddc3 Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Mon, 26 Jan 2009 12:52:34 +0100 Subject: [PATCH] winecfg: Make enumerate_valuesW() static. --- programs/winecfg/winecfg.c | 2 +- programs/winecfg/winecfg.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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);