diff --git a/dlls/msvcp90/locale.c b/dlls/msvcp90/locale.c index 1d04bcbe496..4ad37e83c48 100644 --- a/dlls/msvcp90/locale.c +++ b/dlls/msvcp90/locale.c @@ -190,7 +190,10 @@ typedef struct } facets_elem; static struct list lazy_facets = LIST_INIT(lazy_facets); -static void locale_facet_register(locale_facet *add) +/* Not exported from msvcp90 */ +/* ?facet_Register@facet@locale@std@@CAXPAV123@@Z */ +/* ?facet_Register@facet@locale@std@@CAXPEAV123@@Z */ +void __cdecl locale_facet_register(locale_facet *add) { facets_elem *head = MSVCRT_operator_new(sizeof(*head)); if(!head) { diff --git a/dlls/msvcp90/msvcp90.spec b/dlls/msvcp90/msvcp90.spec index 6751118c2c8..593f3c9313a 100644 --- a/dlls/msvcp90/msvcp90.spec +++ b/dlls/msvcp90/msvcp90.spec @@ -5815,3 +5815,5 @@ @ thiscall -arch=win32 ?_Tidy@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AAEX_N@Z(ptr long) basic_string_char_tidy_built @ cdecl -arch=win64 ?_Tidy@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEAAX_N@Z(ptr long) basic_string_char_tidy_built @ extern ??_7facet@locale@std@@6B@ MSVCP_locale_facet_vtable +@ cdecl -arch=win32 ?facet_Register@facet@locale@std@@CAXPAV123@@Z(ptr) locale_facet_register +@ cdecl -arch=win64 ?facet_Register@facet@locale@std@@CAXPEAV123@@Z(ptr) locale_facet_register