Francois Gouget : regedit: Make GetwideString() static.
Alexandre Julliard
julliard at winehq.org
Thu Jul 7 09:48:22 CDT 2016
Module: wine
Branch: master
Commit: f099d0b19772c91829986a298d97f70ac3c1cd4b
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f099d0b19772c91829986a298d97f70ac3c1cd4b
Author: Francois Gouget <fgouget at free.fr>
Date: Wed Jul 6 17:05:17 2016 +0200
regedit: Make GetwideString() static.
Signed-off-by: Francois Gouget <fgouget at free.fr>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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 fee4030..353d5f9 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 81223e0..2104e5f 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);
More information about the wine-cvs
mailing list