From: Owen Shepherd Date: Wed, 22 Aug 2012 13:27:18 +0000 (+0100) Subject: win32: predeclare mainCRTStartup in crt0.c (silence compiler warning) X-Git-Url: https://pd.if.org/git/?p=pdclib.old;a=commitdiff_plain;h=57b65100f3689d865cef937ed99be737e6909362 win32: predeclare mainCRTStartup in crt0.c (silence compiler warning) --- diff --git a/platform/win32/crt0.c b/platform/win32/crt0.c index e910bd1..5fb4955 100644 --- a/platform/win32/crt0.c +++ b/platform/win32/crt0.c @@ -98,6 +98,8 @@ static LONG CALLBACK sehExceptionFilter( EXCEPTION_POINTERS * exInfo ) extern int main( int argc, char ** argv, char ** envp ); +void __cdecl mainCRTStartup( void ); + void __cdecl mainCRTStartup( void ) { stdin->handle = GetStdHandle(STD_INPUT_HANDLE);