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:
gad 2001-10-09 00:09:46 +00:00
parent 5b09ccdd39
commit 2343dd5f76

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