let make the main() entry point noreturns

This commit is contained in:
Alam Ed Arias 2016-01-28 21:37:41 -05:00
parent 050ce857c4
commit c47ff7b3c6

View file

@ -141,8 +141,10 @@ void XBoxStartup()
myargv = NULL; myargv = NULL;
#else #else
#ifdef FORCESDLMAIN #ifdef FORCESDLMAIN
FUNCNORETURN
int SDL_main(int argc, char **argv) int SDL_main(int argc, char **argv)
#else #else
FUNCNORETURN
int main(int argc, char **argv) int main(int argc, char **argv)
#endif #endif
{ {
@ -240,8 +242,8 @@ int main(int argc, char **argv)
#endif #endif
// return to OS // return to OS
//#ifndef __GNUC__ #ifndef __GNUC__
return 0; return 0;
//#endif #endif
} }
#endif #endif