David Malone
f4ac32def2
ANSIify function definitions.
...
Add some constness to avoid some warnings.
Remove use register keyword.
Deal with missing/unneeded extern/prototypes.
Some minor type changes/casts to avoid warnings.
Reviewed by: md5
2002-09-04 23:29:10 +00:00
Juli Mallett
3a7fc8ce59
Remove local prototypes for main().
2002-08-19 03:07:56 +00:00
Warner Losh
f1bb2cd2aa
remove __P
2002-03-22 01:22:50 +00:00
David Malone
9f5b04e925
Style improvements recommended by Bruce as a follow up to some
...
of the recent WARNS commits. The idea is:
1) FreeBSD id tags should follow vendor tags.
2) Vendor tags should not be compiled (though copyrights probably should).
3) There should be no blank line between including cdefs and __FBSDIF.
2001-12-10 21:13:08 +00:00
Mark Murray
84c0ff2233
Use __FBSDID().
2001-12-02 23:34:16 +00:00
David E. O'Brien
44974a7f49
Remove the misnamed `xmalloc' and replace its uses with the realloc (along
...
with error checking) that it actually was.
2001-07-24 14:14:11 +00:00
Mike Heffner
844518ff93
Add the -p flag to force unknown control sequences to be passed
...
through unchanged.
Reviewed by: silence on -audit
Obtained from: NetBSD
MFC after: 3 weeks
2001-06-17 04:24:16 +00:00
Mike Heffner
f34d0e7447
Use err(3) and style(9) cleanup.
...
MFC after: 2 weeks
2001-06-17 03:56:00 +00:00
Kris Kennaway
50d6b258b2
Fix a trivial warning and clamp down with WARNS=2
...
MFC after: 1 week
2001-05-26 22:45:14 +00:00
Dima Dorfman
43d665c0d1
Document the -h option.
2001-05-11 23:53:46 +00:00
Philippe Charnier
a292105ac8
Use errx(). .Nm fixes
2000-03-26 14:23:23 +00:00
Archie Cobbs
fa146c5335
Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]).
1998-12-06 22:58:23 +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
Peter Wemm
df3f5d9dd5
Merge from Lite2
1997-03-11 13:43:33 +00:00
Andrey A. Chernov
8bbd907273
Add setlocale LC_CTYPE
1995-10-24 06:15:05 +00:00
Bruce Evans
f746e67c46
Obtained from: looked at the fix in 1.1.5 and rewrote it
...
Fix entabbing.
1995-01-17 07:02:31 +00:00
Rodney W. Grimes
9b50d90275
BSD 4.4 Lite Usr.bin Sources
1994-05-27 12:33:43 +00:00