summaryrefslogtreecommitdiffstats
path: root/games/mille/init.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/mille/init.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/mille/init.c')
-rw-r--r--games/mille/init.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/games/mille/init.c b/games/mille/init.c
index 6aaaf2a..d5e64f7 100644
--- a/games/mille/init.c
+++ b/games/mille/init.c
@@ -45,9 +45,9 @@ static char sccsid[] = "@(#)init.c 8.1 (Berkeley) 5/31/93";
init() {
- reg PLAY *pp;
- reg int i, j;
- reg CARD card;
+ PLAY *pp;
+ int i, j;
+ CARD card;
bzero(Numseen, sizeof Numseen);
Numgos = 0;
@@ -88,8 +88,8 @@ init() {
shuffle() {
- reg int i, r;
- reg CARD temp;
+ int i, r;
+ CARD temp;
for (i = 0; i < DECK_SZ; i++) {
r = roll(1, DECK_SZ) - 1;
@@ -106,8 +106,8 @@ shuffle() {
newboard() {
- register int i;
- register PLAY *pp;
+ int i;
+ PLAY *pp;
static int first = TRUE;
if (first) {
@@ -164,8 +164,8 @@ newboard() {
newscore() {
- reg int i, new;
- register PLAY *pp;
+ int i, new;
+ PLAY *pp;
static int was_full = -1;
static int last_win = -1;
OpenPOWER on IntegriCloud