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/table.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'backgammon/common_source/table.c') diff --git a/backgammon/common_source/table.c b/backgammon/common_source/table.c index 1b817dca..869d802e 100644 --- a/backgammon/common_source/table.c +++ b/backgammon/common_source/table.c @@ -1,4 +1,4 @@ -/* $NetBSD: table.c,v 1.9 2006/03/18 23:23:33 christos Exp $ */ +/* $NetBSD: table.c,v 1.10 2009/08/12 05:17:57 dholland Exp $ */ /* * Copyright (c) 1980, 1993 @@ -34,13 +34,13 @@ #if 0 static char sccsid[] = "@(#)table.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: table.c,v 1.9 2006/03/18 23:23:33 christos Exp $"); +__RCSID("$NetBSD: table.c,v 1.10 2009/08/12 05:17:57 dholland Exp $"); #endif #endif /* not lint */ #include "back.h" -const char *const help2[] = { +static const char *const help2[] = { " Enter moves as - or / where is the starting", "position, is the finishing position, and is the roll.", "Remember, each die roll must be moved separately.", @@ -77,6 +77,9 @@ static const struct state atmata[] = { {'\n', 0, -1}, {'.', 0, 0} }; +static int dotable(int, int); +static int rsetbrd(void); + int checkmove(int ist) { @@ -194,7 +197,7 @@ dochar: goto dochar; } -int +static int dotable(int c, int i) { int a; @@ -288,7 +291,7 @@ dotable(int c, int i) return (-5); } -int +static int rsetbrd(void) { int i, j, n; -- cgit v1.2.3