diff options
author | Kjell Wooding <kjell@cvs.openbsd.org> | 2006-03-24 17:10:03 +0000 |
---|---|---|
committer | Kjell Wooding <kjell@cvs.openbsd.org> | 2006-03-24 17:10:03 +0000 |
commit | 87eb64be32639e3a93092d624104db590a533f91 (patch) | |
tree | e0e156bbfbb6639827c21bd2e07a89e8958dc6ae /usr.bin/tail/reverse.c | |
parent | 4cb4263021226133c99e13f978204a7c7efa0930 (diff) |
ANSIfy. Ok ray@
Diffstat (limited to 'usr.bin/tail/reverse.c')
-rw-r--r-- | usr.bin/tail/reverse.c | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/usr.bin/tail/reverse.c b/usr.bin/tail/reverse.c index 31a74a1c7e3..959df807ba4 100644 --- a/usr.bin/tail/reverse.c +++ b/usr.bin/tail/reverse.c @@ -1,4 +1,4 @@ -/* $OpenBSD: reverse.c,v 1.16 2006/03/22 19:43:29 kjell Exp $ */ +/* $OpenBSD: reverse.c,v 1.17 2006/03/24 17:10:02 kjell Exp $ */ /* $NetBSD: reverse.c,v 1.6 1994/11/23 07:42:10 jtc Exp $ */ /*- @@ -37,7 +37,7 @@ #if 0 static char sccsid[] = "@(#)reverse.c 8.1 (Berkeley) 6/6/93"; #endif -static char rcsid[] = "$OpenBSD: reverse.c,v 1.16 2006/03/22 19:43:29 kjell Exp $"; +static char rcsid[] = "$OpenBSD: reverse.c,v 1.17 2006/03/24 17:10:02 kjell Exp $"; #endif /* not lint */ #include <sys/param.h> @@ -88,11 +88,7 @@ static int r_reg(FILE *, enum STYLE, off_t, struct stat *); * NOREG cyclically read input into a linked list of buffers */ void -reverse(fp, style, off, sbp) - FILE *fp; - enum STYLE style; - off_t off; - struct stat *sbp; +reverse(FILE *fp, enum STYLE style, off_t off, struct stat *sbp) { if (style != REVERSE && off == 0) return; @@ -181,8 +177,7 @@ typedef struct bf { * user warned). */ static void -r_buf(fp) - FILE *fp; +r_buf(FILE *fp) { BF *mark, *tr, *tl = NULL; int ch; |