diff options
author | jtc <jtc@NetBSD.org> | 1997-05-23 23:09:36 +0000 |
---|---|---|
committer | jtc <jtc@NetBSD.org> | 1997-05-23 23:09:36 +0000 |
commit | 9853b17d101ca569d22656507e9da0092cfad0ff (patch) | |
tree | 21220576e4dd7b226094f1e9663f0e3b55186d70 /mille/init.c | |
parent | b218620de93fbebcfba8ec74b22d33986ba70b3f (diff) | |
download | bsdgames-darwin-9853b17d101ca569d22656507e9da0092cfad0ff.tar.gz bsdgames-darwin-9853b17d101ca569d22656507e9da0092cfad0ff.tar.zst bsdgames-darwin-9853b17d101ca569d22656507e9da0092cfad0ff.zip |
Change "reg" to "register"
Remove private implementation of erasechar() and killchar().
Diffstat (limited to 'mille/init.c')
-rw-r--r-- | mille/init.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/mille/init.c b/mille/init.c index 368862ad..2ca77be9 100644 --- a/mille/init.c +++ b/mille/init.c @@ -1,4 +1,4 @@ -/* $NetBSD: init.c,v 1.5 1995/03/24 05:01:40 cgd Exp $ */ +/* $NetBSD: init.c,v 1.6 1997/05/23 23:09:37 jtc Exp $ */ /* * Copyright (c) 1982, 1993 @@ -37,7 +37,7 @@ #if 0 static char sccsid[] = "@(#)init.c 8.1 (Berkeley) 5/31/93"; #else -static char rcsid[] = "$NetBSD: init.c,v 1.5 1995/03/24 05:01:40 cgd Exp $"; +static char rcsid[] = "$NetBSD: init.c,v 1.6 1997/05/23 23:09:37 jtc Exp $"; #endif #endif /* not lint */ @@ -49,9 +49,9 @@ static char rcsid[] = "$NetBSD: init.c,v 1.5 1995/03/24 05:01:40 cgd Exp $"; init() { - reg PLAY *pp; - reg int i, j; - reg CARD card; + register PLAY *pp; + register int i, j; + register CARD card; bzero(Numseen, sizeof Numseen); Numgos = 0; @@ -92,8 +92,8 @@ init() { shuffle() { - reg int i, r; - reg CARD temp; + register int i, r; + register CARD temp; for (i = 0; i < DECK_SZ; i++) { r = roll(1, DECK_SZ) - 1; @@ -168,7 +168,7 @@ newboard() { newscore() { - reg int i, new; + register int i, new; register PLAY *pp; static int was_full = -1; static int last_win = -1; |