Module: wine Branch: master Commit: fb3b28f0131690bd0a6f73a42a955c56ae9543f3 URL: http://source.winehq.org/git/wine.git/?a=commit;h=fb3b28f0131690bd0a6f73a42a...
Author: Andrew Talbot andrew.talbot@talbotville.com Date: Sat Aug 6 12:51:16 2011 +0100
msvcrt: void functions should not return a value.
---
dlls/msvcrt/exit.c | 2 +- dlls/msvcrt/time.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/msvcrt/exit.c b/dlls/msvcrt/exit.c index 6c6b55f..19b9fb4 100644 --- a/dlls/msvcrt/exit.c +++ b/dlls/msvcrt/exit.c @@ -139,7 +139,7 @@ static void DoMessageBox(const char *lead, const char *message) MSVCRT_mbstowcs(leadW, lead, 1024); MSVCRT_mbstowcs(messageW, message, 1024);
- return DoMessageBoxW(leadW, messageW); + DoMessageBoxW(leadW, messageW); }
/********************************************************************* diff --git a/dlls/msvcrt/time.c b/dlls/msvcrt/time.c index 5ff1467..bf87711 100644 --- a/dlls/msvcrt/time.c +++ b/dlls/msvcrt/time.c @@ -655,12 +655,12 @@ int CDECL MSVCRT__ftime32_s(struct MSVCRT___timeb32 *buf) #ifdef _WIN64 void CDECL MSVCRT__ftime(struct MSVCRT___timeb64 *buf) { - return MSVCRT__ftime64( buf ); + MSVCRT__ftime64( buf ); } #else void CDECL MSVCRT__ftime(struct MSVCRT___timeb32 *buf) { - return MSVCRT__ftime32( buf ); + MSVCRT__ftime32( buf ); } #endif