diff options
author | charnier <charnier@FreeBSD.org> | 1997-09-24 06:44:12 +0000 |
---|---|---|
committer | charnier <charnier@FreeBSD.org> | 1997-09-24 06:44:12 +0000 |
commit | c9faba1300c1044f1fabe35c283fcb50bcb65da8 (patch) | |
tree | 775e6a09fec016fb50c06daea3d8470569c595c0 | |
parent | 369ad2ce736f173c529cebe6f26bb6e6ea7d457b (diff) | |
download | FreeBSD-src-c9faba1300c1044f1fabe35c283fcb50bcb65da8.zip FreeBSD-src-c9faba1300c1044f1fabe35c283fcb50bcb65da8.tar.gz |
Statisize usage(). Add return(0) for -wall.
-rw-r--r-- | usr.sbin/kvm_mkdb/kvm_mkdb.8 | 2 | ||||
-rw-r--r-- | usr.sbin/kvm_mkdb/kvm_mkdb.c | 8 | ||||
-rw-r--r-- | usr.sbin/kvm_mkdb/nlist.c | 7 | ||||
-rw-r--r-- | usr.sbin/kvm_mkdb/testdb.c | 4 |
4 files changed, 15 insertions, 6 deletions
diff --git a/usr.sbin/kvm_mkdb/kvm_mkdb.8 b/usr.sbin/kvm_mkdb/kvm_mkdb.8 index b409159..0bfcbea 100644 --- a/usr.sbin/kvm_mkdb/kvm_mkdb.8 +++ b/usr.sbin/kvm_mkdb/kvm_mkdb.8 @@ -65,6 +65,6 @@ information about the current system. .Xr kvm_nlist 3 .Sh HISTORY The -.Nm kvm_mkdb +.Nm utility first appeared in .Bx 4.4 . diff --git a/usr.sbin/kvm_mkdb/kvm_mkdb.c b/usr.sbin/kvm_mkdb/kvm_mkdb.c index b842d1e..0284c55 100644 --- a/usr.sbin/kvm_mkdb/kvm_mkdb.c +++ b/usr.sbin/kvm_mkdb/kvm_mkdb.c @@ -32,13 +32,17 @@ */ #ifndef lint -static char copyright[] = +static const char copyright[] = "@(#) Copyright (c) 1990, 1993\n\ The Regents of the University of California. All rights reserved.\n"; #endif /* not lint */ #ifndef lint +#if 0 static char sccsid[] = "@(#)kvm_mkdb.c 8.3 (Berkeley) 5/4/95"; +#endif +static const char rcsid[] = + "$Id$"; #endif /* not lint */ #include <sys/param.h> @@ -114,7 +118,7 @@ main(argc, argv) exit(0); } -void +static void usage() { (void)fprintf(stderr, "usage: kvm_mkdb [file]\n"); diff --git a/usr.sbin/kvm_mkdb/nlist.c b/usr.sbin/kvm_mkdb/nlist.c index 946fbfa..954742a 100644 --- a/usr.sbin/kvm_mkdb/nlist.c +++ b/usr.sbin/kvm_mkdb/nlist.c @@ -33,10 +33,10 @@ #ifndef lint #if 0 -static char sccsid[] = "from: @(#)nlist.c 8.1 (Berkeley) 6/6/93"; -#else -static char *rcsid = "$Id$"; +static char sccsid[] = "@(#)from: nlist.c 8.1 (Berkeley) 6/6/93"; #endif +static const char rcsid[] = + "$Id$"; #endif /* not lint */ #include <sys/param.h> @@ -172,6 +172,7 @@ __aout_knlist(name, db) data.size = sizeof(NLIST); } } + return(0); } diff --git a/usr.sbin/kvm_mkdb/testdb.c b/usr.sbin/kvm_mkdb/testdb.c index fe4581e..8d769bd 100644 --- a/usr.sbin/kvm_mkdb/testdb.c +++ b/usr.sbin/kvm_mkdb/testdb.c @@ -32,7 +32,11 @@ */ #ifndef lint +#if 0 static char sccsid[] = "@(#)testdb.c 8.1 (Berkeley) 6/6/93"; +#endif +static const char rcsid[] = + "$Id$"; #endif /* not lint */ #include <sys/param.h> |