Commit Graph

26 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
tjr
f577e81d49 Sort options in Description section. 2002-06-04 09:17:30 +00:00
tjr
158e03bdd1 Note SUSv2 conformance. 2002-06-04 09:16:09 +00:00
charnier
a07fb1cc07 Use `The .Nm utility' 2002-04-19 23:44:58 +00:00
imp
74d826c7a6 remove __P 2002-03-22 01:22:50 +00:00
markm
ae2558974f Remove leaf node WARNS?=2 (that mainly I added). This should
help the GCC3 transition and CURRENT in general.
2002-02-08 22:31:43 +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
dd
911ca14c87 Remove whitespace at EOL. 2001-07-15 08:06:20 +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
ru
0d1334ca0c mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
charnier
d7faf524e1 Use errx(). .Nm fixes 2000-03-26 14:23:23 +00:00
peter
3b842d34e8 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
nik
6578739ddb Add $Id$, to make it simpler for members of the translation teams to
track.

The $Id$ line is normally at the bottom of the main comment block in the
man page, separated from the rest of the manpage by an empty comment,
like so;

     .\"    $Id$
     .\"

If the immediately preceding comment is a @(#) format ID marker than the
the $Id$ will line up underneath it with no intervening blank lines.
Otherwise, an additional blank line is inserted.

Approved by:            bde
1999-07-12 20:24:20 +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
mpp
a951e1ba65 Use the .At macro where appropriate. 1996-08-23 01:06:24 +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