summaryrefslogtreecommitdiff
path: root/usr.bin/tail/forward.c
diff options
context:
space:
mode:
authorKjell Wooding <kjell@cvs.openbsd.org>2006-03-24 17:10:03 +0000
committerKjell Wooding <kjell@cvs.openbsd.org>2006-03-24 17:10:03 +0000
commit87eb64be32639e3a93092d624104db590a533f91 (patch)
treee0e156bbfbb6639827c21bd2e07a89e8958dc6ae /usr.bin/tail/forward.c
parent4cb4263021226133c99e13f978204a7c7efa0930 (diff)
ANSIfy. Ok ray@
Diffstat (limited to 'usr.bin/tail/forward.c')
-rw-r--r--usr.bin/tail/forward.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/usr.bin/tail/forward.c b/usr.bin/tail/forward.c
index 8e5521007f4..0e75ca57715 100644
--- a/usr.bin/tail/forward.c
+++ b/usr.bin/tail/forward.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: forward.c,v 1.20 2004/03/12 19:40:05 otto Exp $ */
+/* $OpenBSD: forward.c,v 1.21 2006/03/24 17:10:02 kjell Exp $ */
/* $NetBSD: forward.c,v 1.7 1996/02/13 16:49:10 ghudson Exp $ */
/*-
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)forward.c 8.1 (Berkeley) 6/6/93";
#endif
-static char rcsid[] = "$OpenBSD: forward.c,v 1.20 2004/03/12 19:40:05 otto Exp $";
+static char rcsid[] = "$OpenBSD: forward.c,v 1.21 2006/03/24 17:10:02 kjell Exp $";
#endif /* not lint */
#include <sys/types.h>
@@ -81,11 +81,7 @@ static int rlines(FILE *, off_t, struct stat *);
* NOREG cyclically read lines into a wrap-around array of buffers
*/
void
-forward(fp, style, off, sbp)
- FILE *fp;
- enum STYLE style;
- off_t off;
- struct stat *sbp;
+forward(FILE *fp, enum STYLE style, off_t off, struct stat *sbp)
{
int ch;
struct stat nsb;