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);