From c9909eceee44489c21c0d386a48fdd3a16a47ba0 Mon Sep 17 00:00:00 2001 From: mycroft Date: Sun, 26 Jul 1998 16:11:39 +0000 Subject: [PATCH] const poisoning. --- games/mille/mille.h | 4 ++-- games/mille/misc.c | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/games/mille/mille.h b/games/mille/mille.h index 5c3f48007d0b..205bdab390de 100644 --- a/games/mille/mille.h +++ b/games/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/games/mille/misc.c b/games/mille/misc.c index 2fcd9379aba1..6971d06f0bde 100644 --- a/games/mille/misc.c +++ b/games/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 {