From f099d0b19772c91829986a298d97f70ac3c1cd4b Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Wed, 6 Jul 2016 17:05:17 +0200 Subject: [PATCH] regedit: Make GetwideString() static. Signed-off-by: Francois Gouget Signed-off-by: Alexandre Julliard --- programs/regedit/regproc.c | 2 +- programs/regedit/regproc.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/programs/regedit/regproc.c b/programs/regedit/regproc.c index fee4030009a..353d5f986ec 100644 --- a/programs/regedit/regproc.c +++ b/programs/regedit/regproc.c @@ -68,7 +68,7 @@ if (!(p)) \ * Allocates memory and converts input from multibyte to wide chars * Returned string must be freed by the caller */ -WCHAR* GetWideString(const char* strA) +static WCHAR* GetWideString(const char* strA) { if(strA) { diff --git a/programs/regedit/regproc.h b/programs/regedit/regproc.h index 81223e05d26..2104e5f80b2 100644 --- a/programs/regedit/regproc.h +++ b/programs/regedit/regproc.h @@ -25,5 +25,4 @@ BOOL export_registry_key(WCHAR *file_name, WCHAR *reg_key_name, DWORD format); BOOL import_registry_file(FILE *in); void delete_registry_key(WCHAR *reg_key_name); -WCHAR* GetWideString(const char* strA); CHAR* GetMultiByteString(const WCHAR* strW);