diff options
author | joerg <joerg@FreeBSD.org> | 1996-07-17 20:14:42 +0000 |
---|---|---|
committer | joerg <joerg@FreeBSD.org> | 1996-07-17 20:14:42 +0000 |
commit | 252afb2d7b14bc4581ed3b60a057351902dafda4 (patch) | |
tree | 13102deb02e3c6593427f57a792d4cfd83fadb6c /usr.sbin | |
parent | 12b08090e15851551255dccb996d2d6ccfb79ce6 (diff) | |
download | FreeBSD-src-252afb2d7b14bc4581ed3b60a057351902dafda4.zip FreeBSD-src-252afb2d7b14bc4581ed3b60a057351902dafda4.tar.gz |
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
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/lpr/filters/lpf.c | 6 |
1 files 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) == '-') { |