diff options
author | billf <billf@FreeBSD.org> | 1999-11-16 02:58:06 +0000 |
---|---|---|
committer | billf <billf@FreeBSD.org> | 1999-11-16 02:58:06 +0000 |
commit | 44fac3a89d25ca434f91c4f961a363ea590faae8 (patch) | |
tree | a0cca4d47c73890ff2acd4b0d9331509ac360eb2 /games/arithmetic | |
parent | ecc8d489403ddff78c214db39def15049d5dae6a (diff) | |
download | FreeBSD-src-44fac3a89d25ca434f91c4f961a363ea590faae8.zip FreeBSD-src-44fac3a89d25ca434f91c4f961a363ea590faae8.tar.gz |
Sync our register usage with NetBSD's (non-)usage.
Diffstat (limited to 'games/arithmetic')
-rw-r--r-- | games/arithmetic/arithmetic.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/games/arithmetic/arithmetic.c b/games/arithmetic/arithmetic.c index d7d8b95..4e8efef 100644 --- a/games/arithmetic/arithmetic.c +++ b/games/arithmetic/arithmetic.c @@ -113,7 +113,7 @@ main(argc, argv) while ((ch = getopt(argc, argv, "r:o:")) != -1) switch(ch) { case 'o': { - register const char *p; + const char *p; for (p = keys = optarg; *p; ++p) if (!index(keylist, *p)) { @@ -184,7 +184,7 @@ showstats() */ problem() { - register char *p; + char *p; time_t start, finish; int left, op, right, result; char line[80]; @@ -317,7 +317,7 @@ getrandom(maxval, op, operand) int maxval, op, operand; { int value; - register struct penalty **pp, *p; + struct penalty **pp, *p; op = opnum(op); value = random() % (maxval + penalty[op][operand]); |