diff --git a/reactos/dll/win32/msvcrt/msvcrt.spec b/reactos/dll/win32/msvcrt/msvcrt.spec index 2c7ed3f9894..14f71694065 100644 --- a/reactos/dll/win32/msvcrt/msvcrt.spec +++ b/reactos/dll/win32/msvcrt/msvcrt.spec @@ -126,9 +126,9 @@ @ cdecl __RTDynamicCast(ptr long ptr ptr long) MSVCRT___RTDynamicCast @ cdecl __RTtypeid(ptr) MSVCRT___RTtypeid @ cdecl __STRINGTOLD(ptr ptr str long) -# @ cdecl ___lc_codepage_func() +@ cdecl ___lc_codepage_func() # @ cdecl ___lc_collate_cp_func() -# @ cdecl ___lc_handle_func() +@ cdecl ___lc_handle_func() # @ cdecl ___mb_cur_max_func() MSVCRT___mb_cur_max_func @ cdecl ___setlc_active_func() @ cdecl ___unguarded_readlc_active_add_func() @@ -151,10 +151,10 @@ @ cdecl __isascii(long) __isascii @ cdecl __iscsym(long) __iscsym @ cdecl __iscsymf(long) __iscsymf -@ extern __lc_codepage __lc_codepage +@ extern __lc_codepage MSVCRT___lc_codepage @ stub __lc_collate -@ extern __lc_collate_cp __lc_collate_cp -@ extern __lc_handle __lc_handle +@ extern __lc_collate_cp MSVCRT___lc_collate_cp +@ extern __lc_handle MSVCRT___lc_handle @ cdecl __lconv_init() # stub __libm_sse2_acos # stub __libm_sse2_acosf diff --git a/reactos/lib/sdk/crt/locale/locale.c b/reactos/lib/sdk/crt/locale/locale.c index 7e7b1afd4af..b5aa7f154b9 100644 --- a/reactos/lib/sdk/crt/locale/locale.c +++ b/reactos/lib/sdk/crt/locale/locale.c @@ -755,38 +755,20 @@ int CDECL _setmbcp(int cp) /********************************************************************* - * __lc_collate_cp (MSVCRT.@) - * - * @unimplemented + * ___lc_handle_func (MSVCRT.@) */ -void __lc_collate_cp(int cp) +HANDLE * CDECL ___lc_handle_func(void) { -FIXME("__lc_collate_cp - stub\n"); -return; + return MSVCRT___lc_handle; } /********************************************************************* - * __lc_handle (MSVCRT.@) - * - * @unimplemented + * ___lc_codepage_func (MSVCRT.@) */ -void __lc_handle(void) +int CDECL ___lc_codepage_func(void) { -FIXME("__lc_handle - stub\n"); -return; -} - - -/********************************************************************* - * __lc_codepage (MSVCRT.@) - * - * @unimplemented - */ -void __lc_codepage(void) -{ -FIXME("__lc_codepage - stub\n"); -return; + return MSVCRT___lc_codepage; }