Replaced return from main by exit
This commit is contained in:
parent
11af9f9716
commit
262490efaa
|
@ -50,6 +50,7 @@ main(argc, argv)
|
|||
DoFile(stdin);
|
||||
}
|
||||
EndOfProgram();
|
||||
exit(0);
|
||||
}
|
||||
|
||||
DoFile(fp)
|
||||
|
|
|
@ -104,7 +104,7 @@ main(argc, argv)
|
|||
++err;
|
||||
print_namelist(*argv++, nl);
|
||||
}
|
||||
return err ? 1 : 0;
|
||||
exit(err ? 1 : 0);
|
||||
}
|
||||
|
||||
int
|
||||
|
|
Loading…
Reference in a new issue