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 /sail/globals.c | |
parent | 39a1066cab493ece48c6e692513d1311b7e27c44 (diff) | |
download | bsdgames-darwin-df2ff83b8d06bdf49e72c595985c77d5b4ae7582.tar.gz bsdgames-darwin-df2ff83b8d06bdf49e72c595985c77d5b4ae7582.tar.zst bsdgames-darwin-df2ff83b8d06bdf49e72c595985c77d5b4ae7582.zip |
sprinkle static
Diffstat (limited to 'sail/globals.c')
-rw-r--r-- | sail/globals.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sail/globals.c b/sail/globals.c index ec0dcb1f..0f34bae1 100644 --- a/sail/globals.c +++ b/sail/globals.c @@ -1,4 +1,4 @@ -/* $NetBSD: globals.c,v 1.14 2009/03/14 19:35:13 dholland Exp $ */ +/* $NetBSD: globals.c,v 1.15 2009/08/12 09:05:08 dholland Exp $ */ /* * Copyright (c) 1983, 1993 @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)globals.c 8.2 (Berkeley) 4/28/95"; #else -__RCSID("$NetBSD: globals.c,v 1.14 2009/03/14 19:35:13 dholland Exp $"); +__RCSID("$NetBSD: globals.c,v 1.15 2009/08/12 09:05:08 dholland Exp $"); #endif #endif /* not lint */ @@ -42,6 +42,8 @@ __RCSID("$NetBSD: globals.c,v 1.14 2009/03/14 19:35:13 dholland Exp $"); #include <setjmp.h> #include "extern.h" +static struct shipspecs specs[]; + struct scenario scene[] = { /* * int winddir; @@ -313,7 +315,7 @@ struct scenario scene[] = { }; int nscene = sizeof scene / sizeof (struct scenario); -struct shipspecs specs[] = { +static struct shipspecs specs[] = { /* bs fs ta guns hull crew1 crew3 gunR carR rig2 rig4 pts */ /* class qual crew2 gunL carL rig1 rig3 */ /*00*/{ 4, 7, 3, 19, 5, 5, 4, 2, 2, 2, 2, 2, 0, 0, 4, 4, 4, 4, 7 }, |