From d91aeebe629b8428e564df33c93bb69195d28cc3 Mon Sep 17 00:00:00 2001 From: hubertf Date: Wed, 21 Jul 1999 13:19:10 +0000 Subject: const poisoning Patch submitted in PR 8039 by Joseph Myers --- trek/phaser.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'trek/phaser.c') diff --git a/trek/phaser.c b/trek/phaser.c index 8c06ff2e..8273fe8b 100644 --- a/trek/phaser.c +++ b/trek/phaser.c @@ -1,4 +1,4 @@ -/* $NetBSD: phaser.c,v 1.5 1997/10/12 21:25:06 christos Exp $ */ +/* $NetBSD: phaser.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[] = "@(#)phaser.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: phaser.c,v 1.5 1997/10/12 21:25:06 christos Exp $"); +__RCSID("$NetBSD: phaser.c,v 1.6 1999/07/21 13:19:11 hubertf Exp $"); #endif #endif /* not lint */ @@ -113,7 +113,7 @@ phaser(v) int n; int hitreqd[NBANKS]; struct banks bank[NBANKS]; - struct cvntab *ptr; + const struct cvntab *ptr; if (Ship.cond == DOCKED) { printf("Phasers cannot fire through starbase shields\n"); -- cgit v1.2.3