summaryrefslogtreecommitdiffstats
path: root/larn/bill.c
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2008-01-28 05:38:53 +0000
committerdholland <dholland@NetBSD.org>2008-01-28 05:38:53 +0000
commite30950ccc7c7c31c69f1d31c16b0212bbf168ceb (patch)
tree2db2120a69bedac57d95d284e878f9975b6a17ed /larn/bill.c
parent9005237a04850abb22afe099ef07649b4115ed3f (diff)
downloadbsdgames-darwin-e30950ccc7c7c31c69f1d31c16b0212bbf168ceb.tar.gz
bsdgames-darwin-e30950ccc7c7c31c69f1d31c16b0212bbf168ceb.tar.zst
bsdgames-darwin-e30950ccc7c7c31c69f1d31c16b0212bbf168ceb.zip
Larn now builds with WARNS=4.
Diffstat (limited to 'larn/bill.c')
-rw-r--r--larn/bill.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/larn/bill.c b/larn/bill.c
index 6bcaa3b7..0006482f 100644
--- a/larn/bill.c
+++ b/larn/bill.c
@@ -1,4 +1,4 @@
-/* $NetBSD: bill.c,v 1.7 2003/08/07 09:37:22 agc Exp $ */
+/* $NetBSD: bill.c,v 1.8 2008/01/28 05:38:53 dholland Exp $ */
/*-
* Copyright (c) 1991 The Regents of the University of California.
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)bill.c 5.2 (Berkeley) 5/28/91";
#else
-__RCSID("$NetBSD: bill.c,v 1.7 2003/08/07 09:37:22 agc Exp $");
+__RCSID("$NetBSD: bill.c,v 1.8 2008/01/28 05:38:53 dholland Exp $");
#endif
#endif /* not lint */
@@ -49,7 +49,7 @@ __RCSID("$NetBSD: bill.c,v 1.7 2003/08/07 09:37:22 agc Exp $");
/* bill.c Larn is copyrighted 1986 by Noah Morgan. */
-char *mail[] = {
+const char *mail[] = {
"From: the LRS (Larn Revenue Service)\n",
"~s undeclared income\n",
"\n We have heard you survived the caverns of Larn. Let me be the",
@@ -123,7 +123,7 @@ mailbill()
int i;
char fname[32];
char buf[128];
- char **cp;
+ const char **cp;
int fd;
wait(0);