From 11961241abd27c9cf1344a211e8331ffd25259b9 Mon Sep 17 00:00:00 2001 From: mycroft Date: Sun, 26 Jul 1998 16:11:39 +0000 Subject: const poisoning. --- mille/mille.h | 4 ++-- mille/misc.c | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'mille') 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 { -- cgit v1.2.3-56-ge451