summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/indent/indent.c6
-rw-r--r--usr.bin/indent/parse.c8
2 files changed, 7 insertions, 7 deletions
diff --git a/usr.bin/indent/indent.c b/usr.bin/indent/indent.c
index ce9b9a096b4..15c5f13b0b6 100644
--- a/usr.bin/indent/indent.c
+++ b/usr.bin/indent/indent.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: indent.c,v 1.16 2003/06/12 20:58:09 deraadt Exp $ */
+/* $OpenBSD: indent.c,v 1.17 2003/06/26 21:43:07 deraadt Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -43,7 +43,7 @@ char copyright[] =
#ifndef lint
/*static char sccsid[] = "@(#)indent.c 5.17 (Berkeley) 6/7/93";*/
-static char rcsid[] = "$OpenBSD: indent.c,v 1.16 2003/06/12 20:58:09 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: indent.c,v 1.17 2003/06/26 21:43:07 deraadt Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -64,7 +64,7 @@ char *out_name = "Standard Output"; /* will always point to name
* of output file */
char bakfile[MAXPATHLEN] = "";
-void bakcopy();
+void bakcopy(void);
int
main(int argc, char **argv)
diff --git a/usr.bin/indent/parse.c b/usr.bin/indent/parse.c
index d40b4127a99..b1da01a0a20 100644
--- a/usr.bin/indent/parse.c
+++ b/usr.bin/indent/parse.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.c,v 1.6 2003/06/12 01:07:27 deraadt Exp $ */
+/* $OpenBSD: parse.c,v 1.7 2003/06/26 21:43:07 deraadt Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -34,14 +34,14 @@
#ifndef lint
/*static char sccsid[] = "@(#)parse.c 8.1 (Berkeley) 6/6/93";*/
-static char rcsid[] = "$OpenBSD: parse.c,v 1.6 2003/06/12 01:07:27 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: parse.c,v 1.7 2003/06/26 21:43:07 deraadt Exp $";
#endif /* not lint */
#include <stdio.h>
#include "indent_globs.h"
#include "indent_codes.h"
-void reduce();
+void reduce(void);
void
parse(tk)
@@ -246,7 +246,7 @@ parse(tk)
| REDUCTION PHASE |
\*----------------------------------------------*/
void
-reduce()
+reduce(void)
{
int i;