Commit Graph

15 Commits

Author SHA1 Message Date
Mark Murray
5ca37430d9 Warning fix. Enter into the spirit of getopt(3) a bit more. 2002-02-22 20:55:04 +00:00
Warner Losh
f9bcb0beb5 o __P has been reoved
o Old-style K&R declarations have been converted to new C89 style
o register has been removed
o prototype for main() has been removed (gcc3 makes it an error)
o int main(int argc, char *argv[]) is the preferred main definition.
o Attempt to not break style(9) conformance for declarations more than
  they already are.

Approved by: arch@, new style(9)
2002-02-02 06:24:13 +00:00
Kris Kennaway
0c37bb2120 Make this pass WARNS=2 and BDECFLAGS 2001-05-20 04:37:28 +00:00
Peter Wemm
2a4562393f $Id$ -> $FreeBSD$ 1999-08-27 23:15:48 +00:00
Philippe Charnier
95d0bf6556 Correct use of .Nm. Add rcsid. 1998-05-13 07:39:11 +00:00
Philippe Charnier
faa4958c39 Revert part of previous patch: Don't use __progname. 1997-06-04 06:21:44 +00:00
Philippe Charnier
e2b60e721d /etc/netstart -> /etc/rc.network
Add usage() and use __progname. Change usage string to match man page.
1997-06-03 06:19:04 +00:00
Peter Wemm
b97fa2ef50 Revert $FreeBSD$ to $Id$ 1997-02-22 14:13:04 +00:00
Jordan K. Hubbard
1130b656e5 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
Steve Price
78b09ffeaf -Wall cleaning. 1996-12-14 06:08:03 +00:00
Joerg Wunsch
0fd510b71a You will find enclosed some changes to make gcc -Wall more happy in
/usr/src/bin. Note that some patches are still needed in that directory.

I (Joerg) finished most of Philippe's cleanup.  /bin/sh will still
need *allot* of work, however.

Submitted by:	charnier@lirmm.fr (Philippe Charnier)
1995-03-19 13:29:28 +00:00
Garrett Wollman
634b753d7d Actually implement this correctly. 1994-09-26 02:14:27 +00:00
Bruce Evans
9fb420314e Remove redundant declarations that were added in the previous commit. 1994-09-21 22:31:01 +00:00
Poul-Henning Kamp
d4daf998ed Applied patch to make -Wall and -Dlint shut up.
Reviewed by:	phk
Submitted by:	Josef Grosch <joeg@gagme.wwa.com>
1994-09-20 06:24:56 +00:00
Garrett Wollman
6f2d50c0d0 A new domainname(1) command based on hostname(1), this time with a correct
manual page.
1994-09-18 21:23:37 +00:00