diff options
author | Paul Janzen <pjanzen@cvs.openbsd.org> | 1999-07-31 18:49:01 +0000 |
---|---|---|
committer | Paul Janzen <pjanzen@cvs.openbsd.org> | 1999-07-31 18:49:01 +0000 |
commit | e585050e69b2cffded83049457534efebbcb7ca9 (patch) | |
tree | 315af1a4012c229fabbf7c6b2937a35f6d089b10 /games/trek/phaser.c | |
parent | a6d6ed8a0aa01096faeeabaf63df8a1e305df488 (diff) |
Use const where appropriate: jsm28@cam.ac.uk
Diffstat (limited to 'games/trek/phaser.c')
-rw-r--r-- | games/trek/phaser.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/games/trek/phaser.c b/games/trek/phaser.c index 754d7861053..756ed0de880 100644 --- a/games/trek/phaser.c +++ b/games/trek/phaser.c @@ -1,4 +1,4 @@ -/* $OpenBSD: phaser.c,v 1.3 1999/03/12 03:02:43 pjanzen Exp $ */ +/* $OpenBSD: phaser.c,v 1.4 1999/07/31 18:48:59 pjanzen Exp $ */ /* $NetBSD: phaser.c,v 1.4 1995/04/24 12:26:02 cgd Exp $ */ /* @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)phaser.c 8.1 (Berkeley) 5/31/93"; #else -static char rcsid[] = "$OpenBSD: phaser.c,v 1.3 1999/03/12 03:02:43 pjanzen Exp $"; +static char rcsid[] = "$OpenBSD: phaser.c,v 1.4 1999/07/31 18:48:59 pjanzen Exp $"; #endif #endif /* not lint */ @@ -78,7 +78,7 @@ static char rcsid[] = "$OpenBSD: phaser.c,v 1.3 1999/03/12 03:02:43 pjanzen Exp ** Phasers spread slightly, even if you specify zero spread. */ -struct cvntab Matab[] = +const struct cvntab Matab[] = { { "m", "anual", (cmdfun)1, 0 }, { "a", "utomatic", (cmdfun)0, 0 }, @@ -109,7 +109,7 @@ phaser(v) int n; int hitreqd[NBANKS]; struct banks bank[NBANKS]; - struct cvntab *ptr; + const struct cvntab *ptr; if (Ship.cond == DOCKED) { |