Commit Graph

17 Commits

Author SHA1 Message Date
dwmalone
b4339b74ad 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
jmallett
2b6e4e1504 Remove local prototypes for main(). 2002-08-19 03:07:56 +00:00
imp
74d826c7a6 remove __P 2002-03-22 01:22:50 +00:00
dwmalone
d9613ea383 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
markm
8896138d55 Use __FBSDID(). 2001-12-02 23:34:16 +00:00
obrien
6a671f2684 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
mikeh
714cc67ab6 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
mikeh
8174fd75ca Use err(3) and style(9) cleanup.
MFC after:	2 weeks
2001-06-17 03:56:00 +00:00
kris
98b6fe6f08 Fix a trivial warning and clamp down with WARNS=2
MFC after:	1 week
2001-05-26 22:45:14 +00:00
dd
f7d244cc07 Document the -h option. 2001-05-11 23:53:46 +00:00
charnier
d7faf524e1 Use errx(). .Nm fixes 2000-03-26 14:23:23 +00:00
archie
167c036e91 Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]). 1998-12-06 22:58:23 +00:00
imp
141381e1cb 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
deba7db48c Merge from Lite2 1997-03-11 13:43:33 +00:00
ache
f30cf8615c Add setlocale LC_CTYPE 1995-10-24 06:15:05 +00:00
bde
63bcd55854 Obtained from: looked at the fix in 1.1.5 and rewrote it
Fix entabbing.
1995-01-17 07:02:31 +00:00
rgrimes
f9ab90d9d6 BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00