diff options
author | 2009-08-12 05:17:57 +0000 | |
---|---|---|
committer | 2009-08-12 05:17:57 +0000 | |
commit | e0b4b2e87c96803d2d4d74cad54f16eb1d15a8d9 (patch) | |
tree | 750e4d7083e19c9557737d01e5226e39e8377e56 /backgammon/common_source/one.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/one.c')
-rw-r--r-- | backgammon/common_source/one.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/backgammon/common_source/one.c b/backgammon/common_source/one.c index dde3096a..215a1890 100644 --- a/backgammon/common_source/one.c +++ b/backgammon/common_source/one.c @@ -1,4 +1,4 @@ -/* $NetBSD: one.c,v 1.6 2005/07/01 01:12:39 jmc Exp $ */ +/* $NetBSD: one.c,v 1.7 2009/08/12 05:17:57 dholland Exp $ */ /* * Copyright (c) 1980, 1993 @@ -34,12 +34,15 @@ #if 0 static char sccsid[] = "@(#)one.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: one.c,v 1.6 2005/07/01 01:12:39 jmc Exp $"); +__RCSID("$NetBSD: one.c,v 1.7 2009/08/12 05:17:57 dholland Exp $"); #endif #endif /* not lint */ #include "back.h" +static int checkd(int); +static int last(void); + int makmove(int i) { @@ -115,7 +118,7 @@ moverr(int i) } -int +static int checkd(int d) { if (d0 != d) @@ -123,7 +126,7 @@ checkd(int d) return (0); } -int +static int last(void) { int i; |