Commit Graph

16 Commits

Author SHA1 Message Date
dholland e7afde8f0f simplify __dead usage 2016-09-03 05:50:06 +00:00
sevan f237858c5d Remove K&R __P macros.
Remove main() function prototype if present.
Mark usage() as __dead if not already.
Binaries generated with & without these patches were compared with diff -r.
2016-09-03 02:24:04 +00:00
matt d34c2845b8 Use C89 function definitions 2012-03-20 20:34:57 +00:00
martin 11a6dbe728 Convert TNF licenses to new 2 clause variant 2008-04-30 13:10:46 +00:00
martin ce099b4099 Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
perry 8b0f9554ff convert __attribute__s to applicable cdefs.h macros 2007-12-15 19:44:37 +00:00
agc ca741c4a3f Fix minor grammar nit. 2007-07-05 19:44:02 +00:00
wiz d771b2e264 Sort options and add -v to usage. From Kouichirou Hiratsuka in PR 26219,
though done slightly differently (options without arguments always come
first).
2004-07-10 16:12:29 +00:00
wiz a3b80f097f Sort options; new sentence, new line; use Pq. 2004-07-10 16:11:29 +00:00
jmmv b635f565e7 Homogenize usage messages: make the 'usage' word all lowercase, as this seems
to be the most common practice in our tree.
2004-01-05 23:23:32 +00:00
wiz aded0d2cce Whitespace cleanup. 2001-12-01 16:43:07 +00:00
cgd a8ec668ddf convert to use getprogname() 2001-02-19 23:03:42 +00:00
kleink 4918722a89 For commands and utilities, use EXIT STATUS rather than RETURN VALUES or
DIAGNOSTICS as appropriate (and documented in mdoc(7)).
2000-09-04 07:35:15 +00:00
matt fcd0fb118f Make gcc 2.96 (and maybe earlier) happier. Include <stdlib.h>,<string.>,
etc. as appropriate to get exit,srncmp,abs,abort,etc.
Add -I${.CURDIR} to a few Makefiles
2000-07-03 02:51:12 +00:00
erh fa45851f9b Add missing .El line. 1999-03-10 05:14:51 +00:00
christos 7a3f6c58a0 Netgroup access program. 1999-03-02 13:59:17 +00:00