Tim J. Robbins
7dd4ac68f1
Use err instead of errx when malloc fails. "malloc" is not a helpful
...
error message.
2002-07-05 09:28:13 +00:00
Juli Mallett
621e56b613
Revert part of the previous revision. Changing exit() to return() in main()
...
is wrong, even though our C compiler doesn't understand that exit() eats
control of the program, and as such can sometimes complain that main() reaches
the bottom of its body without an explicit return().
Aside from that, the functional usefulness of changing it is effectively nil,
so back it out.
Submitted by: mike
2002-05-17 11:16:49 +00:00
Juli Mallett
307a7436ec
Remove spurious casts in malloc(3)'s argument.
...
Use `return' instead of `exit' at the bottom of main().
2002-05-17 02:28:46 +00:00
Warner Losh
3f330d7d1a
remove __P
2002-03-22 01:42:45 +00:00
David Malone
c83caf7b8d
Warns cleanups. Add FreeBSD ID to Makefile.
2001-12-03 21:37:35 +00:00
Peter Wemm
c3aac50f28
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
Philippe Charnier
c10d7afbab
Use err(3) instead of local redefinition. Add usage().
1997-08-14 06:42:43 +00:00
Warner Losh
1c8af87873
compare return value from getopt against -1 rather than EOF, per the final
...
posix standard on the topic.
1997-03-29 04:34:07 +00:00
Rodney W. Grimes
9b50d90275
BSD 4.4 Lite Usr.bin Sources
1994-05-27 12:33:43 +00:00