diff options
Diffstat (limited to 'games/arithmetic/arithmetic.c')
-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]); |