diff options
author | 2003-06-10 22:20:44 +0000 | |
---|---|---|
committer | 2003-06-10 22:20:44 +0000 | |
commit | 1837a5ca509d93cac77d2e89322c0c4869f9215d (patch) | |
tree | 52dbe14a25e44bdf8161f4c51f39a50c072fe221 /usr.bin/tee/tee.c | |
parent | It would kind of help if the flags member was initialized, otherwise random (diff) | |
download | wireguard-openbsd-1837a5ca509d93cac77d2e89322c0c4869f9215d.tar.xz wireguard-openbsd-1837a5ca509d93cac77d2e89322c0c4869f9215d.zip |
mostly ansi cleanup; pval ok
Diffstat (limited to 'usr.bin/tee/tee.c')
-rw-r--r-- | usr.bin/tee/tee.c | 12 |
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; |