summaryrefslogtreecommitdiff
path: root/usr.sbin/lpr
diff options
context:
space:
mode:
authormatt <matt@NetBSD.org>2008-02-16 07:33:25 +0000
committermatt <matt@NetBSD.org>2008-02-16 07:33:25 +0000
commit156e0dc02f27dfef64e20eb7fe2f459a41b6500a (patch)
treef6dd2f14aa7d6b17e5090c35dbd4c38e6fb005e9 /usr.sbin/lpr
parent33ffa22643b9a7baae297f2cce8a770cbefb5313 (diff)
scnkey is const char [][HEIGHT], not char [][HEIGHT]
Diffstat (limited to 'usr.sbin/lpr')
-rw-r--r--usr.sbin/lpr/lpd/printjob.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/lpr/lpd/printjob.c b/usr.sbin/lpr/lpd/printjob.c
index def51fd5bdb..f5a8c447446 100644
--- a/usr.sbin/lpr/lpd/printjob.c
+++ b/usr.sbin/lpr/lpd/printjob.c
@@ -1,4 +1,4 @@
-/* $NetBSD: printjob.c,v 1.50 2006/05/11 00:22:53 mrg Exp $ */
+/* $NetBSD: printjob.c,v 1.51 2008/02/16 07:33:25 matt Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -41,7 +41,7 @@ __COPYRIGHT("@(#) Copyright (c) 1983, 1993\n\
#if 0
static char sccsid[] = "@(#)printjob.c 8.7 (Berkeley) 5/10/95";
#else
-__RCSID("$NetBSD: printjob.c,v 1.50 2006/05/11 00:22:53 mrg Exp $");
+__RCSID("$NetBSD: printjob.c,v 1.51 2008/02/16 07:33:25 matt Exp $");
#endif
#endif /* not lint */
@@ -1051,7 +1051,7 @@ scan_out(int scfd, char *scsp, int dlm)
int nchrs, j;
char outbuf[LINELEN+1], *sp, c, cc;
int d, scnhgt;
- extern char scnkey[][HEIGHT]; /* in lpdchar.c */
+ extern const char scnkey[][HEIGHT]; /* in lpdchar.c */
for (scnhgt = 0; scnhgt++ < HEIGHT+DROP; ) {
strp = &outbuf[0];