Commit bba33e53 authored by Alexandre Julliard's avatar Alexandre Julliard

ntdll: Get rid of __wine_init_codepages().

parent 3ebe4475
...@@ -2314,7 +2314,6 @@ INT WINAPI CompareStringA(LCID lcid, DWORD flags, ...@@ -2314,7 +2314,6 @@ INT WINAPI CompareStringA(LCID lcid, DWORD flags,
*/ */
void LOCALE_Init(void) void LOCALE_Init(void)
{ {
extern void CDECL __wine_init_codepages( const union cptable *ansi_cp, const union cptable *oem_cp );
extern UINT CDECL __wine_get_unix_codepage(void); extern UINT CDECL __wine_get_unix_codepage(void);
UINT ansi_cp = 1252, oem_cp = 437, mac_cp = 10000, unix_cp; UINT ansi_cp = 1252, oem_cp = 437, mac_cp = 10000, unix_cp;
...@@ -2332,7 +2331,6 @@ void LOCALE_Init(void) ...@@ -2332,7 +2331,6 @@ void LOCALE_Init(void)
if (!(mac_cptable = wine_cp_get_table( mac_cp ))) if (!(mac_cptable = wine_cp_get_table( mac_cp )))
mac_cptable = wine_cp_get_table( 10000 ); mac_cptable = wine_cp_get_table( 10000 );
__wine_init_codepages( ansi_cptable, oem_cptable );
unix_cp = __wine_get_unix_codepage(); unix_cp = __wine_get_unix_codepage();
if (unix_cp != CP_UTF8) unix_cptable = wine_cp_get_table( unix_cp ); if (unix_cp != CP_UTF8) unix_cptable = wine_cp_get_table( unix_cp );
......
...@@ -1567,7 +1567,6 @@ ...@@ -1567,7 +1567,6 @@
@ cdecl wine_get_host_version(ptr ptr) NTDLL_wine_get_host_version @ cdecl wine_get_host_version(ptr ptr) NTDLL_wine_get_host_version
# Codepages # Codepages
@ cdecl __wine_init_codepages(ptr ptr)
@ cdecl __wine_get_unix_codepage() @ cdecl __wine_get_unix_codepage()
# signal handling # signal handling
......
...@@ -42,15 +42,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(ntdll); ...@@ -42,15 +42,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(ntdll);
/************************************************************************** /**************************************************************************
* __wine_init_codepages (NTDLL.@)
*
* Set the code page once kernel32 is loaded. Should be done differently.
*/
void CDECL __wine_init_codepages( const union cptable *ansi, const union cptable *oem )
{
}
/**************************************************************************
* RtlInitAnsiString (NTDLL.@) * RtlInitAnsiString (NTDLL.@)
* *
* Initializes a buffered ansi string. * Initializes a buffered ansi string.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment