summaryrefslogtreecommitdiff
path: root/usr.sbin/dev_mkdb
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-07-14 04:13:55 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-07-14 04:13:55 +0000
commitbe9e023997adf4e53191f5785eeff75c417558da (patch)
treeea4b85aff4798e7c779525948db3dfc8fc68e06a /usr.sbin/dev_mkdb
parent5003961c001cc2ba84b055cbd2e297d6f0b396f0 (diff)
ansi
Diffstat (limited to 'usr.sbin/dev_mkdb')
-rw-r--r--usr.sbin/dev_mkdb/dev_mkdb.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/usr.sbin/dev_mkdb/dev_mkdb.c b/usr.sbin/dev_mkdb/dev_mkdb.c
index d24a1bee139..450ebc45728 100644
--- a/usr.sbin/dev_mkdb/dev_mkdb.c
+++ b/usr.sbin/dev_mkdb/dev_mkdb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dev_mkdb.c,v 1.7 2002/03/14 16:44:24 mpech Exp $ */
+/* $OpenBSD: dev_mkdb.c,v 1.8 2002/07/14 04:13:54 deraadt Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -41,7 +41,7 @@ static char copyright[] =
#ifndef lint
/*static char sccsid[] = "from: @(#)dev_mkdb.c 8.1 (Berkeley) 6/6/93";*/
-static char rcsid[] = "$Id: dev_mkdb.c,v 1.7 2002/03/14 16:44:24 mpech Exp $";
+static char rcsid[] = "$Id: dev_mkdb.c,v 1.8 2002/07/14 04:13:54 deraadt Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -63,9 +63,7 @@ static char rcsid[] = "$Id: dev_mkdb.c,v 1.7 2002/03/14 16:44:24 mpech Exp $";
void usage(void);
int
-main(argc, argv)
- int argc;
- char *argv[];
+main(int argc, char *argv[])
{
DIR *dirp;
struct dirent *dp;
@@ -150,7 +148,7 @@ main(argc, argv)
}
void
-usage()
+usage(void)
{
(void)fprintf(stderr, "usage: dev_mkdb\n");