summaryrefslogtreecommitdiffstats
path: root/games/backgammon/common_source/odds.c
diff options
context:
space:
mode:
authorbillf <billf@FreeBSD.org>1999-11-16 02:58:06 +0000
committerbillf <billf@FreeBSD.org>1999-11-16 02:58:06 +0000
commit44fac3a89d25ca434f91c4f961a363ea590faae8 (patch)
treea0cca4d47c73890ff2acd4b0d9331509ac360eb2 /games/backgammon/common_source/odds.c
parentecc8d489403ddff78c214db39def15049d5dae6a (diff)
downloadFreeBSD-src-44fac3a89d25ca434f91c4f961a363ea590faae8.zip
FreeBSD-src-44fac3a89d25ca434f91c4f961a363ea590faae8.tar.gz
Sync our register usage with NetBSD's (non-)usage.
Diffstat (limited to 'games/backgammon/common_source/odds.c')
-rw-r--r--games/backgammon/common_source/odds.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/games/backgammon/common_source/odds.c b/games/backgammon/common_source/odds.c
index a989d65..d3e21e4 100644
--- a/games/backgammon/common_source/odds.c
+++ b/games/backgammon/common_source/odds.c
@@ -40,10 +40,10 @@ static char sccsid[] = "@(#)odds.c 8.1 (Berkeley) 5/31/93";
#include "back.h"
odds (r1,r2,val)
-register int r1;
+int r1;
int r2, val;
{
- register int i, j;
+ int i, j;
if (r1 == 0) {
for (i = 0; i < 6; i++)
@@ -65,9 +65,9 @@ int r2, val;
}
count () {
- register int i;
- register int j;
- register int total;
+ int i;
+ int j;
+ int total;
total = 0;
for (i = 0; i < 6; i++)
@@ -80,7 +80,7 @@ canhit (i,c)
int i, c;
{
- register int j, k, b;
+ int j, k, b;
int a, d, diff, place, addon, menstuck;
if (c == 0)
OpenPOWER on IntegriCloud