summaryrefslogtreecommitdiffstats
path: root/mille/roll.c
diff options
context:
space:
mode:
authorjtc <jtc@NetBSD.org>1997-05-23 23:09:36 +0000
committerjtc <jtc@NetBSD.org>1997-05-23 23:09:36 +0000
commit9853b17d101ca569d22656507e9da0092cfad0ff (patch)
tree21220576e4dd7b226094f1e9663f0e3b55186d70 /mille/roll.c
parentb218620de93fbebcfba8ec74b22d33986ba70b3f (diff)
downloadbsdgames-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/roll.c')
-rw-r--r--mille/roll.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/mille/roll.c b/mille/roll.c
index fa589ba9..98d84d88 100644
--- a/mille/roll.c
+++ b/mille/roll.c
@@ -1,4 +1,4 @@
-/* $NetBSD: roll.c,v 1.4 1995/03/24 05:02:07 cgd Exp $ */
+/* $NetBSD: roll.c,v 1.5 1997/05/23 23:09:42 jtc Exp $ */
/*
* Copyright (c) 1982, 1993
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)roll.c 8.1 (Berkeley) 5/31/93";
#else
-static char rcsid[] = "$NetBSD: roll.c,v 1.4 1995/03/24 05:02:07 cgd Exp $";
+static char rcsid[] = "$NetBSD: roll.c,v 1.5 1997/05/23 23:09:42 jtc Exp $";
#endif
#endif /* not lint */
@@ -51,9 +51,10 @@ static char rcsid[] = "$NetBSD: roll.c,v 1.4 1995/03/24 05:02:07 cgd Exp $";
*/
roll(ndie, nsides)
-reg int ndie, nsides; {
+register int ndie, nsides;
+{
- reg int tot;
+ register int tot;
extern unsigned int random();
tot = 0;