diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2004-01-21 19:12:14 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2004-01-21 19:12:14 +0000 |
commit | 7a0881cf3134f24b0e2e04e075841298f05a1618 (patch) | |
tree | 707b2b84fce0c275dd0d658cb4054a7d7acf2acf /games/rogue/trap.c | |
parent | 015a4179321bbc59cf34543034f1e859d4815555 (diff) |
make rogue const-correct, and fix one write-strings issue.
ok miod@
Diffstat (limited to 'games/rogue/trap.c')
-rw-r--r-- | games/rogue/trap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/games/rogue/trap.c b/games/rogue/trap.c index 85d11330829..c14da8b9080 100644 --- a/games/rogue/trap.c +++ b/games/rogue/trap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: trap.c,v 1.5 2003/06/03 03:01:41 millert Exp $ */ +/* $OpenBSD: trap.c,v 1.6 2004/01/21 19:12:13 espie Exp $ */ /* $NetBSD: trap.c,v 1.3 1995/04/22 10:28:35 cgd Exp $ */ /* @@ -37,7 +37,7 @@ #if 0 static char sccsid[] = "@(#)trap.c 8.1 (Berkeley) 5/31/93"; #else -static const char rcsid[] = "$OpenBSD: trap.c,v 1.5 2003/06/03 03:01:41 millert Exp $"; +static const char rcsid[] = "$OpenBSD: trap.c,v 1.6 2004/01/21 19:12:13 espie Exp $"; #endif #endif /* not lint */ @@ -59,7 +59,7 @@ trap traps[MAX_TRAPS]; boolean trap_door = 0; short bear_trap = 0; -char *trap_strings[TRAPS * 2] = { +const char *trap_strings[TRAPS * 2] = { "trap door", "you fell down a trap", "bear trap", |