diff options
author | 2002-02-24 08:04:55 +0000 | |
---|---|---|
committer | 2002-02-24 08:04:55 +0000 | |
commit | 97490c647bcd2d02cee3cc8f76878765a32267f7 (patch) | |
tree | 88f0a55dee33ba36da5fb654e65a1f27f6e113fd | |
parent | Fix TAILQ_NEXT() example. First param is listelm, not head. (diff) | |
download | wireguard-openbsd-97490c647bcd2d02cee3cc8f76878765a32267f7.tar.xz wireguard-openbsd-97490c647bcd2d02cee3cc8f76878765a32267f7.zip |
getc, getchar, etc return an int, not a char
-rw-r--r-- | usr.sbin/lpr/filters/lpf.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/lpr/filters/lpf.c b/usr.sbin/lpr/filters/lpf.c index 85e918fdac1..51b460bb028 100644 --- a/usr.sbin/lpr/filters/lpf.c +++ b/usr.sbin/lpr/filters/lpf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lpf.c,v 1.5 2001/08/30 17:38:13 millert Exp $ */ +/* $OpenBSD: lpf.c,v 1.6 2002/02/24 08:04:55 pvalchev Exp $ */ /* * Copyright (c) 1983, 1993 @@ -43,7 +43,7 @@ static const char copyright[] = #if 0 static const char sccsid[] = "@(#)lpf.c 8.1 (Berkeley) 6/6/93"; #else -static const char rcsid[] = "$OpenBSD: lpf.c,v 1.5 2001/08/30 17:38:13 millert Exp $"; +static const char rcsid[] = "$OpenBSD: lpf.c,v 1.6 2002/02/24 08:04:55 pvalchev Exp $"; #endif #endif /* not lint */ @@ -83,8 +83,8 @@ main(argc, argv) FILE *p = stdin, *o = stdout; int i, col; char *cp; - int done, linedone, maxrep; - char ch, *limit; + int done, linedone, maxrep, ch; + char *limit; while (--argc) { if (*(cp = *++argv) == '-') { |