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 /backgammon/common_source/subs.c | |
parent | 653e85afa892eacbbdb9b34fd73115cc38be3911 (diff) | |
download | bsdgames-darwin-e0b4b2e87c96803d2d4d74cad54f16eb1d15a8d9.tar.gz bsdgames-darwin-e0b4b2e87c96803d2d4d74cad54f16eb1d15a8d9.tar.zst bsdgames-darwin-e0b4b2e87c96803d2d4d74cad54f16eb1d15a8d9.zip |
sprinkle static
Diffstat (limited to 'backgammon/common_source/subs.c')
-rw-r--r-- | backgammon/common_source/subs.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/backgammon/common_source/subs.c b/backgammon/common_source/subs.c index 62529fe0..aa139222 100644 --- a/backgammon/common_source/subs.c +++ b/backgammon/common_source/subs.c @@ -1,4 +1,4 @@ -/* $NetBSD: subs.c,v 1.16 2007/12/15 19:44:39 perry Exp $ */ +/* $NetBSD: subs.c,v 1.17 2009/08/12 05:17:57 dholland Exp $ */ /* * Copyright (c) 1980, 1993 @@ -34,20 +34,20 @@ #if 0 static char sccsid[] = "@(#)subs.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: subs.c,v 1.16 2007/12/15 19:44:39 perry Exp $"); +__RCSID("$NetBSD: subs.c,v 1.17 2009/08/12 05:17:57 dholland Exp $"); #endif #endif /* not lint */ #include "back.h" int buffnum; -char outbuff[BUFSIZ]; +static char outbuff[BUFSIZ]; static const char plred[] = "Player is red, computer is white."; static const char plwhite[] = "Player is white, computer is red."; static const char nocomp[] = "(No computer play.)"; -const char *const descr[] = { +static const char *const descr[] = { "Usage: backgammon [-] [n r w b pr pw pb t3a]\n", "\t-\tgets this list\n\tn\tdon't ask for rules or instructions", "\tr\tplayer is red (implies n)\n\tw\tplayer is white (implies n)", |