mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-30 08:19:09 +00:00
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:
parent
0ca7dba57c
commit
2fd64de22b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=84693
@ -32,14 +32,17 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
static char copyright[] =
|
static const char copyright[] =
|
||||||
"@(#) Copyright (c) 1983, 1993\n\
|
"@(#) Copyright (c) 1983, 1993\n\
|
||||||
The Regents of the University of California. All rights reserved.\n";
|
The Regents of the University of California. All rights reserved.\n";
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
|
/*
|
||||||
static char sccsid[] = "From: @(#)lpf.c 8.1 (Berkeley) 6/6/93";
|
static char sccsid[] = "From: @(#)lpf.c 8.1 (Berkeley) 6/6/93";
|
||||||
static char id[] = "$FreeBSD$";
|
*/
|
||||||
|
static const char rcsid[] =
|
||||||
|
"$FreeBSD$";
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -166,7 +169,7 @@ main(int argc, char *argv[])
|
|||||||
}
|
}
|
||||||
|
|
||||||
default:
|
default:
|
||||||
if (col >= width || !literal && ch < ' ') {
|
if (col >= width || (!literal && ch < ' ')) {
|
||||||
col++;
|
col++;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user