diff options
author | hubertf <hubertf@NetBSD.org> | 1999-07-21 13:19:10 +0000 |
---|---|---|
committer | hubertf <hubertf@NetBSD.org> | 1999-07-21 13:19:10 +0000 |
commit | d91aeebe629b8428e564df33c93bb69195d28cc3 (patch) | |
tree | 342727fa8bfdbef8202ebb0d3d400deab12a179f /trek/setup.c | |
parent | 21ce304979b76ad5fff791e88f3f0c0fa22ce01a (diff) | |
download | bsdgames-darwin-d91aeebe629b8428e564df33c93bb69195d28cc3.tar.gz bsdgames-darwin-d91aeebe629b8428e564df33c93bb69195d28cc3.tar.zst bsdgames-darwin-d91aeebe629b8428e564df33c93bb69195d28cc3.zip |
const poisoning
Patch submitted in PR 8039 by Joseph Myers <jsm28@cam.ac.uk>
Diffstat (limited to 'trek/setup.c')
-rw-r--r-- | trek/setup.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/trek/setup.c b/trek/setup.c index 6e381be5..f2596371 100644 --- a/trek/setup.c +++ b/trek/setup.c @@ -1,4 +1,4 @@ -/* $NetBSD: setup.c,v 1.5 1997/10/12 21:25:15 christos Exp $ */ +/* $NetBSD: setup.c,v 1.6 1999/07/21 13:19:11 hubertf Exp $ */ /* * Copyright (c) 1980, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)setup.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: setup.c,v 1.5 1997/10/12 21:25:15 christos Exp $"); +__RCSID("$NetBSD: setup.c,v 1.6 1999/07/21 13:19:11 hubertf Exp $"); #endif #endif /* not lint */ @@ -61,7 +61,7 @@ __RCSID("$NetBSD: setup.c,v 1.5 1997/10/12 21:25:15 christos Exp $"); ** Game restart and tournament games are handled here. */ -struct cvntab Lentab[] = +const struct cvntab Lentab[] = { { "s", "hort", (cmdfun)1, 0 }, { "m", "edium", (cmdfun)2, 0 }, @@ -70,7 +70,7 @@ struct cvntab Lentab[] = { NULL, NULL, NULL, 0 } }; -struct cvntab Skitab[] = +const struct cvntab Skitab[] = { { "n", "ovice", (cmdfun)1, 0 }, { "f", "air", (cmdfun)2, 0 }, @@ -84,7 +84,7 @@ struct cvntab Skitab[] = void setup() { - struct cvntab *r; + const struct cvntab *r; int i, j; double f; int d; |