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
This commit is contained in:
Garance A Drosehn 2001-10-09 00:09:46 +00:00
parent 0ca7dba57c
commit 2fd64de22b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=84693

View File

@ -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;
}