diff options
author | dholland <dholland@NetBSD.org> | 2009-08-12 05:17:57 +0000 |
---|---|---|
committer | dholland <dholland@NetBSD.org> | 2009-08-12 05:17:57 +0000 |
commit | e0b4b2e87c96803d2d4d74cad54f16eb1d15a8d9 (patch) | |
tree | 750e4d7083e19c9557737d01e5226e39e8377e56 /battlestar | |
parent | 653e85afa892eacbbdb9b34fd73115cc38be3911 (diff) | |
download | bsdgames-darwin-e0b4b2e87c96803d2d4d74cad54f16eb1d15a8d9.tar.gz bsdgames-darwin-e0b4b2e87c96803d2d4d74cad54f16eb1d15a8d9.tar.zst bsdgames-darwin-e0b4b2e87c96803d2d4d74cad54f16eb1d15a8d9.zip |
sprinkle static
Diffstat (limited to 'battlestar')
-rw-r--r-- | battlestar/command1.c | 8 | ||||
-rw-r--r-- | battlestar/command6.c | 8 | ||||
-rw-r--r-- | battlestar/extern.h | 4 |
3 files changed, 11 insertions, 9 deletions
diff --git a/battlestar/command1.c b/battlestar/command1.c index 96235d95..70441531 100644 --- a/battlestar/command1.c +++ b/battlestar/command1.c @@ -1,4 +1,4 @@ -/* $NetBSD: command1.c,v 1.3 2005/07/01 06:04:54 jmc Exp $ */ +/* $NetBSD: command1.c,v 1.4 2009/08/12 05:20:38 dholland Exp $ */ /* * Copyright (c) 1983, 1993 @@ -34,12 +34,14 @@ #if 0 static char sccsid[] = "@(#)com1.c 8.2 (Berkeley) 4/28/95"; #else -__RCSID("$NetBSD: command1.c,v 1.3 2005/07/01 06:04:54 jmc Exp $"); +__RCSID("$NetBSD: command1.c,v 1.4 2009/08/12 05:20:38 dholland Exp $"); #endif #endif /* not lint */ #include "extern.h" +static void convert(int); + int moveplayer(int thataway, int token) { @@ -70,7 +72,7 @@ moveplayer(int thataway, int token) } /* Converts day to night and vice versa. */ -void +static void convert(int tothis) { const struct objs *p; diff --git a/battlestar/command6.c b/battlestar/command6.c index ef324c84..be46f0a7 100644 --- a/battlestar/command6.c +++ b/battlestar/command6.c @@ -1,4 +1,4 @@ -/* $NetBSD: command6.c,v 1.4 2007/12/15 19:44:39 perry Exp $ */ +/* $NetBSD: command6.c,v 1.5 2009/08/12 05:20:38 dholland Exp $ */ /* * Copyright (c) 1983, 1993 @@ -34,13 +34,15 @@ #if 0 static char sccsid[] = "@(#)com6.c 8.2 (Berkeley) 4/28/95"; #else -__RCSID("$NetBSD: command6.c,v 1.4 2007/12/15 19:44:39 perry Exp $"); +__RCSID("$NetBSD: command6.c,v 1.5 2009/08/12 05:20:38 dholland Exp $"); #endif #endif /* not lint */ #include "extern.h" #include "pathnames.h" +static void post(int); + int launch(void) { @@ -114,7 +116,7 @@ open_score_file(void) exit(1); } -void +static void post(int ch) { time_t tv; diff --git a/battlestar/extern.h b/battlestar/extern.h index ec0e6022..9cad4606 100644 --- a/battlestar/extern.h +++ b/battlestar/extern.h @@ -1,4 +1,4 @@ -/* $NetBSD: extern.h,v 1.31 2005/07/01 06:04:54 jmc Exp $ */ +/* $NetBSD: extern.h,v 1.32 2009/08/12 05:20:38 dholland Exp $ */ /* * Copyright (c) 1983, 1993 @@ -331,7 +331,6 @@ extern const struct objs nightobjs[]; void bury(void); int card(const char *, int); void chime(void); -void convert(int); void crash(void); int cypher(void); void die(void) __attribute__((__noreturn__)); @@ -362,7 +361,6 @@ void news(void); void newway(int); void open_score_file(void); void parse(void); -void post(int); void printobjs(void); int put(void); int puton(void); |