Statisize usage(). Add return(0) for -wall.

This commit is contained in:
Philippe Charnier 1997-09-24 06:44:12 +00:00
parent 1de98cee26
commit e2954565f3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=29778
4 changed files with 15 additions and 6 deletions

View File

@ -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 .

View File

@ -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");

View File

@ -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);
}

View File

@ -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>