mirror of
https://github.com/Museum-of-Art-and-Digital-Entertainment/macross.git
synced 2025-02-16 11:30:27 +00:00
Main should have a return value
This commit is contained in:
parent
e60db078d2
commit
3e49dc61f0
4
main.c
4
main.c
@ -36,6 +36,7 @@ extern int yyparse (void);
|
||||
extern void finishUp (void);
|
||||
extern void chokePukeAndDie (void);
|
||||
|
||||
int
|
||||
main(int argc, char **argv)
|
||||
{
|
||||
#ifdef __APPLE__
|
||||
@ -54,8 +55,7 @@ main(int argc, char **argv)
|
||||
sbrk(0) - &end);
|
||||
if (errorFlag)
|
||||
chokePukeAndDie();
|
||||
else
|
||||
exit(0);
|
||||
return 0;
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
x
Reference in New Issue
Block a user