Replaced return from main by exit

This commit is contained in:
ceriel 1987-03-09 13:29:04 +00:00
parent 11af9f9716
commit 262490efaa
2 changed files with 2 additions and 1 deletions

View file

@ -50,6 +50,7 @@ main(argc, argv)
DoFile(stdin); DoFile(stdin);
} }
EndOfProgram(); EndOfProgram();
exit(0);
} }
DoFile(fp) DoFile(fp)

View file

@ -104,7 +104,7 @@ main(argc, argv)
++err; ++err;
print_namelist(*argv++, nl); print_namelist(*argv++, nl);
} }
return err ? 1 : 0; exit(err ? 1 : 0);
} }
int int