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:
parent
b06b96595b
commit
f099d0b197
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue