msvcrt: void functions should not return a value.

This commit is contained in:
Andrew Talbot 2011-08-06 12:51:16 +01:00 committed by Alexandre Julliard
parent e7064e08ac
commit fb3b28f013
2 changed files with 3 additions and 3 deletions

View File

@ -139,7 +139,7 @@ static void DoMessageBox(const char *lead, const char *message)
MSVCRT_mbstowcs(leadW, lead, 1024); MSVCRT_mbstowcs(leadW, lead, 1024);
MSVCRT_mbstowcs(messageW, message, 1024); MSVCRT_mbstowcs(messageW, message, 1024);
return DoMessageBoxW(leadW, messageW); DoMessageBoxW(leadW, messageW);
} }
/********************************************************************* /*********************************************************************

View File

@ -655,12 +655,12 @@ int CDECL MSVCRT__ftime32_s(struct MSVCRT___timeb32 *buf)
#ifdef _WIN64 #ifdef _WIN64
void CDECL MSVCRT__ftime(struct MSVCRT___timeb64 *buf) void CDECL MSVCRT__ftime(struct MSVCRT___timeb64 *buf)
{ {
return MSVCRT__ftime64( buf ); MSVCRT__ftime64( buf );
} }
#else #else
void CDECL MSVCRT__ftime(struct MSVCRT___timeb32 *buf) void CDECL MSVCRT__ftime(struct MSVCRT___timeb32 *buf)
{ {
return MSVCRT__ftime32( buf ); MSVCRT__ftime32( buf );
} }
#endif #endif