-/* $NetBSD: support.c,v 1.4 1997/10/10 12:32:36 lukem Exp $ */
+/* $NetBSD: support.c,v 1.5 1999/09/08 21:17:47 jsm Exp $ */
/*-
* Copyright (c) 1980, 1993
#if 0
static char sccsid[] = "@(#)support.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: support.c,v 1.4 1997/10/10 12:32:36 lukem Exp $");
+__RCSID("$NetBSD: support.c,v 1.5 1999/09/08 21:17:47 jsm Exp $");
#endif
#endif /* not lint */
#define NTV 10 /* number scores to test */
/* score to test reachability of, and order to test them in */
-int tv[NTV] = {8, 7, 9, 6, 11, 12, 13, 14, 10, 5};
+const int tv[NTV] = {8, 7, 9, 6, 11, 12, 13, 14, 10, 5};
/*
* computer chooses what to play in pegging...
*/
int
cchose(h, n, s)
- CARD h[];
+ const CARD h[];
int n, s;
{
int i, j, l;
*/
int
plyrhand(hand, s)
- CARD hand[];
- char *s;
+ const CARD hand[];
+ const char *s;
{
static char prompt[BUFSIZ];
int i, j;
*/
int
comphand(h, s)
- CARD h[];
- char *s;
+ const CARD h[];
+ const char *s;
{
int j;
*/
int
anymove(hand, n, sum)
- CARD hand[];
+ const CARD hand[];
int n, sum;
{
int i, j;
*/
int
anysumto(hand, n, s, t)
- CARD hand[];
+ const CARD hand[];
int n, s, t;
{
int i;
*/
int
numofval(h, n, v)
- CARD h[];
+ const CARD h[];
int n, v;
{
int i, j;
*/
void
makeknown(h, n)
- CARD h[];
+ const CARD h[];
int n;
{
int i;