summaryrefslogtreecommitdiffstats
path: root/mille
diff options
context:
space:
mode:
authormycroft <mycroft@NetBSD.org>1998-07-26 16:11:39 +0000
committermycroft <mycroft@NetBSD.org>1998-07-26 16:11:39 +0000
commit11961241abd27c9cf1344a211e8331ffd25259b9 (patch)
treefec5261b4fff07534ed6c5ccd7c2535cefe0cc08 /mille
parente25bc1e9c4985c088b79ce6c6633da8c3c19aaf5 (diff)
downloadbsdgames-darwin-11961241abd27c9cf1344a211e8331ffd25259b9.tar.gz
bsdgames-darwin-11961241abd27c9cf1344a211e8331ffd25259b9.tar.zst
bsdgames-darwin-11961241abd27c9cf1344a211e8331ffd25259b9.zip
const poisoning.
Diffstat (limited to 'mille')
-rw-r--r--mille/mille.h4
-rw-r--r--mille/misc.c8
2 files changed, 6 insertions, 6 deletions
diff --git a/mille/mille.h b/mille/mille.h
index 5c3f4800..205bdab3 100644
--- a/mille/mille.h
+++ b/mille/mille.h
@@ -1,4 +1,4 @@
-/* $NetBSD: mille.h,v 1.7 1997/10/12 00:54:11 lukem Exp $ */
+/* $NetBSD: mille.h,v 1.8 1998/07/26 16:11:39 mycroft Exp $ */
/*
* Copyright (c) 1982, 1993
@@ -233,7 +233,7 @@ void check_go __P((void));
void check_more __P((void));
void die __P((int));
void domove __P((void));
-bool error __P((char *, ...));
+bool error __P((const char *, ...));
void extrapolate __P((PLAY *));
void finalscore __P((PLAY *));
CARD getcard __P((void));
diff --git a/mille/misc.c b/mille/misc.c
index 2fcd9379..6971d06f 100644
--- a/mille/misc.c
+++ b/mille/misc.c
@@ -1,4 +1,4 @@
-/* $NetBSD: misc.c,v 1.6 1997/10/12 00:54:16 lukem Exp $ */
+/* $NetBSD: misc.c,v 1.7 1998/07/26 16:11:40 mycroft Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)misc.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: misc.c,v 1.6 1997/10/12 00:54:16 lukem Exp $");
+__RCSID("$NetBSD: misc.c,v 1.7 1998/07/26 16:11:40 mycroft Exp $");
#endif
#endif /* not lint */
@@ -69,10 +69,10 @@ __RCSID("$NetBSD: misc.c,v 1.6 1997/10/12 00:54:16 lukem Exp $");
bool
#if __STDC__
-error(char *str, ...)
+error(const char *str, ...)
#else
error(str, va_alist)
- char *str;
+ const char *str;
va_dcl
#endif
{