mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-26 20:31:30 +00:00
let make the main() entry point noreturns
This commit is contained in:
parent
050ce857c4
commit
c47ff7b3c6
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue