summaryrefslogtreecommitdiff
path: root/usr.bin/getconf/getconf.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-10 22:20:55 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-10 22:20:55 +0000
commitb8aaa8bec8414f8e55cf9b61fe0873d242c773b8 (patch)
tree5e43016c4fae834239fd38972fd58355ed6b54b5 /usr.bin/getconf/getconf.c
parentf18f6607440f6d2da08fac3522d88a65c77a5f3e (diff)
mostly ansi cleanup; pval ok
Diffstat (limited to 'usr.bin/getconf/getconf.c')
-rw-r--r--usr.bin/getconf/getconf.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/usr.bin/getconf/getconf.c b/usr.bin/getconf/getconf.c
index 56203ad9322..daadb246667 100644
--- a/usr.bin/getconf/getconf.c
+++ b/usr.bin/getconf/getconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: getconf.c,v 1.7 2003/05/21 00:56:50 pjanzen Exp $ */
+/* $OpenBSD: getconf.c,v 1.8 2003/06/10 22:20:47 deraadt Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -41,7 +41,7 @@
*/
#ifndef lint
-static char rcsid[] = "$OpenBSD: getconf.c,v 1.7 2003/05/21 00:56:50 pjanzen Exp $";
+static char rcsid[] = "$OpenBSD: getconf.c,v 1.8 2003/06/10 22:20:47 deraadt Exp $";
#endif /* not lint */
#include <stdio.h>
@@ -140,9 +140,7 @@ const struct conf_variable conf_table[] =
int
-main(argc, argv)
- int argc;
- char **argv;
+main(int argc, char *argv[])
{
int ch;
const struct conf_variable *cp;
@@ -232,7 +230,7 @@ main(argc, argv)
static void
-usage()
+usage(void)
{
extern char *__progname;