msvcrt: Fix __lconv_init() prototype.

This commit is contained in:
Nikolay Sivov 2010-06-11 03:57:53 +04:00 committed by Alexandre Julliard
parent 4801209c5c
commit 90013af6f9
2 changed files with 3 additions and 1 deletions

View file

@ -93,6 +93,7 @@ int CDECL _initterm_e(_INITTERM_E_FN *table, _INITTERM_E_FN *end)
while (!res && table < end) {
if (*table) {
TRACE("calling %p\n", **table);
res = (**table)();
if (res)
TRACE("function %p failed: 0x%x\n", *table, res);

View file

@ -541,10 +541,11 @@ struct MSVCRT_lconv * CDECL MSVCRT_localeconv(void)
/*********************************************************************
* __lconv_init (MSVCRT.@)
*/
void CDECL __lconv_init(void)
int CDECL __lconv_init(void)
{
/* this is used to make chars unsigned */
charmax = 255;
return 0;
}
/*********************************************************************