diff options
author | dholland <dholland@NetBSD.org> | 2009-08-12 08:54:54 +0000 |
---|---|---|
committer | dholland <dholland@NetBSD.org> | 2009-08-12 08:54:54 +0000 |
commit | df2ff83b8d06bdf49e72c595985c77d5b4ae7582 (patch) | |
tree | 0deb02747d183e6641e3e9a4f7376182377495f6 /trek/play.c | |
parent | 39a1066cab493ece48c6e692513d1311b7e27c44 (diff) | |
download | bsdgames-darwin-df2ff83b8d06bdf49e72c595985c77d5b4ae7582.tar.gz bsdgames-darwin-df2ff83b8d06bdf49e72c595985c77d5b4ae7582.tar.zst bsdgames-darwin-df2ff83b8d06bdf49e72c595985c77d5b4ae7582.zip |
sprinkle static
Diffstat (limited to 'trek/play.c')
-rw-r--r-- | trek/play.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/trek/play.c b/trek/play.c index 9d8e6347..85649330 100644 --- a/trek/play.c +++ b/trek/play.c @@ -1,4 +1,4 @@ -/* $NetBSD: play.c,v 1.11 2009/05/24 21:44:56 dholland Exp $ */ +/* $NetBSD: play.c,v 1.12 2009/08/12 08:54:54 dholland Exp $ */ /* * Copyright (c) 1980, 1993 @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)play.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: play.c,v 1.11 2009/05/24 21:44:56 dholland Exp $"); +__RCSID("$NetBSD: play.c,v 1.12 2009/08/12 08:54:54 dholland Exp $"); #endif #endif /* not lint */ @@ -43,6 +43,8 @@ __RCSID("$NetBSD: play.c,v 1.11 2009/05/24 21:44:56 dholland Exp $"); #include "trek.h" #include "getpar.h" +static void myreset(int) __dead; + /* ** INSTRUCTION READ AND MAIN PLAY LOOP ** @@ -56,7 +58,7 @@ __RCSID("$NetBSD: play.c,v 1.11 2009/05/24 21:44:56 dholland Exp $"); extern jmp_buf env; -const struct cvntab Comtab[] = { +static const struct cvntab Comtab[] = { { "abandon", "", abandon, 0 }, { "ca", "pture", capture, 0 }, { "cl", "oak", shield, -1 }, @@ -84,7 +86,7 @@ const struct cvntab Comtab[] = { }; /*ARGSUSED*/ -void +static void myreset(int v __unused) { |