Ed Schouten
f319c4b9af
Make pr build with WARNS=6.
2010-02-26 13:48:04 +00:00
Xin LI
3cd983c5b9
egetopt.c does not use any stdlib.h definations, nor it referenced any
...
symbol from other module, so remove reference of stdlib.h and extern.h.
Verified with: md5(1)
2009-12-13 04:34:51 +00:00
Xin LI
821df508e8
Revert most part of 200420 as requested, as more review and polish is
...
needed.
2009-12-13 03:14:06 +00:00
Xin LI
6f2d322192
Remove unneeded header includes from usr.bin/ except contributed code.
...
Tested with: make universe
2009-12-11 23:35:38 +00:00
Philippe Charnier
a228302fca
Make egetopt() return -1 not EOF, as getopt(3) do.
...
Reviewed by:markm
2002-06-23 20:42:30 +00:00
Mark Murray
e0761ab1e6
Modernise this code by rounding up the usual suspects: register keyword,
...
consts, ANSIfication of functions, proper use of __FBSDID() and so on.
This commit is non-functional from a code-execution perspective, but
pr(1) now compiles WARNS=6 clean.
2002-06-21 10:14:57 +00:00
Rodney W. Grimes
9b50d90275
BSD 4.4 Lite Usr.bin Sources
1994-05-27 12:33:43 +00:00