From 252afb2d7b14bc4581ed3b60a057351902dafda4 Mon Sep 17 00:00:00 2001 From: joerg Date: Wed, 17 Jul 1996 20:14:42 +0000 Subject: Correct the Unix programmer's error #1: "char c = getc();". Closes PR # bin/1386: lpf Text Filter does not w... Submitted by: andreas@marvin.RoBIN.de --- usr.sbin/lpr/filters/lpf.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/usr.sbin/lpr/filters/lpf.c b/usr.sbin/lpr/filters/lpf.c index 3bec84d..59b3cbf 100644 --- a/usr.sbin/lpr/filters/lpf.c +++ b/usr.sbin/lpr/filters/lpf.c @@ -38,7 +38,8 @@ static char copyright[] = #endif /* not lint */ #ifndef lint -static char sccsid[] = "@(#)lpf.c 8.1 (Berkeley) 6/6/93"; +static char sccsid[] = "From: @(#)lpf.c 8.1 (Berkeley) 6/6/93"; +static char id[] = "$Id$"; #endif /* not lint */ /* @@ -79,7 +80,8 @@ main(argc, argv) register int i, col; register char *cp; int done, linedone, maxrep; - char ch, *limit; + char *limit; + int ch; while (--argc) { if (*(cp = *++argv) == '-') { -- cgit v1.1