From e0b4b2e87c96803d2d4d74cad54f16eb1d15a8d9 Mon Sep 17 00:00:00 2001 From: dholland Date: Wed, 12 Aug 2009 05:17:57 +0000 Subject: sprinkle static --- backgammon/common_source/subs.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'backgammon/common_source/subs.c') 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)", -- cgit v1.2.3