summaryrefslogtreecommitdiff
path: root/usr.bin/tee/tee.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/tee/tee.c
parentf18f6607440f6d2da08fac3522d88a65c77a5f3e (diff)
mostly ansi cleanup; pval ok
Diffstat (limited to 'usr.bin/tee/tee.c')
-rw-r--r--usr.bin/tee/tee.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/usr.bin/tee/tee.c b/usr.bin/tee/tee.c
index 68d898c0f88..18e47e5aca8 100644
--- a/usr.bin/tee/tee.c
+++ b/usr.bin/tee/tee.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tee.c,v 1.5 2003/06/03 02:56:17 millert Exp $ */
+/* $OpenBSD: tee.c,v 1.6 2003/06/10 22:20:53 deraadt Exp $ */
/* $NetBSD: tee.c,v 1.5 1994/12/09 01:43:39 jtc Exp $ */
/*
@@ -40,7 +40,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)tee.c 8.1 (Berkeley) 6/6/93";
#endif
-static char rcsid[] = "$OpenBSD: tee.c,v 1.5 2003/06/03 02:56:17 millert Exp $";
+static char rcsid[] = "$OpenBSD: tee.c,v 1.6 2003/06/10 22:20:53 deraadt Exp $";
#endif
#include <sys/types.h>
@@ -65,9 +65,7 @@ LIST *head;
void add(int, char *);
int
-main(argc, argv)
- int argc;
- char *argv[];
+main(int argc, char *argv[])
{
LIST *p;
int n, fd, rval, wval;
@@ -137,9 +135,7 @@ main(argc, argv)
}
void
-add(fd, name)
- int fd;
- char *name;
+add(int fd, char *name)
{
LIST *p;