regedit: Make GetwideString() static.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Francois Gouget 2016-07-06 17:05:17 +02:00 committed by Alexandre Julliard
parent b06b96595b
commit f099d0b197
2 changed files with 1 additions and 2 deletions

View File

@ -68,7 +68,7 @@ if (!(p)) \
* Allocates memory and converts input from multibyte to wide chars * Allocates memory and converts input from multibyte to wide chars
* Returned string must be freed by the caller * Returned string must be freed by the caller
*/ */
WCHAR* GetWideString(const char* strA) static WCHAR* GetWideString(const char* strA)
{ {
if(strA) if(strA)
{ {

View File

@ -25,5 +25,4 @@
BOOL export_registry_key(WCHAR *file_name, WCHAR *reg_key_name, DWORD format); BOOL export_registry_key(WCHAR *file_name, WCHAR *reg_key_name, DWORD format);
BOOL import_registry_file(FILE *in); BOOL import_registry_file(FILE *in);
void delete_registry_key(WCHAR *reg_key_name); void delete_registry_key(WCHAR *reg_key_name);
WCHAR* GetWideString(const char* strA);
CHAR* GetMultiByteString(const WCHAR* strW); CHAR* GetMultiByteString(const WCHAR* strW);