From 2fd64de22b23dc7e945415039989f20e6e4b45cb Mon Sep 17 00:00:00 2001 From: Garance A Drosehn Date: Tue, 9 Oct 2001 00:09:46 +0000 Subject: [PATCH] Get rid of some minor compile-time errors by changing copyright/rcsid definitions to the same format used in other lpr source files, and by adding parenthesis to the right spot in one 'if' statement. MFC after: 4 days --- usr.sbin/lpr/filters/lpf.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/usr.sbin/lpr/filters/lpf.c b/usr.sbin/lpr/filters/lpf.c index c74d4a779e4a..7c759bb050a9 100644 --- a/usr.sbin/lpr/filters/lpf.c +++ b/usr.sbin/lpr/filters/lpf.c @@ -32,14 +32,17 @@ */ #ifndef lint -static char copyright[] = +static const char copyright[] = "@(#) Copyright (c) 1983, 1993\n\ The Regents of the University of California. All rights reserved.\n"; #endif /* not lint */ #ifndef lint +/* static char sccsid[] = "From: @(#)lpf.c 8.1 (Berkeley) 6/6/93"; -static char id[] = "$FreeBSD$"; +*/ +static const char rcsid[] = + "$FreeBSD$"; #endif /* not lint */ /* @@ -166,7 +169,7 @@ main(int argc, char *argv[]) } default: - if (col >= width || !literal && ch < ' ') { + if (col >= width || (!literal && ch < ' ')) { col++; break; }