Replaced return from main by exit
This commit is contained in:
parent
11af9f9716
commit
262490efaa
|
@ -50,6 +50,7 @@ main(argc, argv)
|
||||||
DoFile(stdin);
|
DoFile(stdin);
|
||||||
}
|
}
|
||||||
EndOfProgram();
|
EndOfProgram();
|
||||||
|
exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
DoFile(fp)
|
DoFile(fp)
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue