From e375b0c4a24050efa2927c7e25d7304302ab8b2e Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Mon, 11 Aug 2008 00:44:31 +0200 Subject: [PATCH] Add return statements to avoid gcc warnings. --- dlls/ntdll/threadpool.c | 1 + dlls/winedos/vga.c | 1 + dlls/winedos/vxd.c | 2 ++ dlls/wineoss.drv/audio.c | 2 ++ 4 files changed, 6 insertions(+) diff --git a/dlls/ntdll/threadpool.c b/dlls/ntdll/threadpool.c index 18baeeee168..9c0dafe3ff4 100644 --- a/dlls/ntdll/threadpool.c +++ b/dlls/ntdll/threadpool.c @@ -258,6 +258,7 @@ static DWORD CALLBACK iocp_poller(LPVOID Arg) callback( err, transferred, overlapped ); } } + return 0; } /*********************************************************************** diff --git a/dlls/winedos/vga.c b/dlls/winedos/vga.c index fd52689209d..9afbc4cc067 100644 --- a/dlls/winedos/vga.c +++ b/dlls/winedos/vga.c @@ -295,6 +295,7 @@ static void CALLBACK set_timer_rate( ULONG_PTR arg ) static DWORD CALLBACK VGA_TimerThread( void *dummy ) { for (;;) SleepEx( INFINITE, TRUE ); + return 0; } static void VGA_DeinstallTimer(void) diff --git a/dlls/winedos/vxd.c b/dlls/winedos/vxd.c index 0b3602a6332..a719c30e108 100644 --- a/dlls/winedos/vxd.c +++ b/dlls/winedos/vxd.c @@ -407,6 +407,8 @@ static DWORD CALLBACK timer_thread( void *arg ) *system_time = GetTickCount(); Sleep( 55 ); } + + return 0; } diff --git a/dlls/wineoss.drv/audio.c b/dlls/wineoss.drv/audio.c index 2e22d14af6a..460c1f5372c 100644 --- a/dlls/wineoss.drv/audio.c +++ b/dlls/wineoss.drv/audio.c @@ -1923,6 +1923,8 @@ static DWORD CALLBACK wodPlayer(LPVOID pmt) dwNextFeedTime = dwNextNotifyTime = INFINITE; } } + + return 0; } /**************************************************************************