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/battlestar/parse.c | |
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/battlestar/parse.c')
-rw-r--r-- | games/battlestar/parse.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/games/battlestar/parse.c b/games/battlestar/parse.c index 7eb72ee..abab858 100644 --- a/games/battlestar/parse.c +++ b/games/battlestar/parse.c @@ -41,7 +41,7 @@ static char sccsid[] = "@(#)parse.c 8.1 (Berkeley) 5/31/93"; wordinit() { - register struct wlist *w; + struct wlist *w; for (w = wlist; w->string; w++) install(w); @@ -51,7 +51,7 @@ int hash(s) const char *s; { - register hashval = 0; + int hashval = 0; while (*s) { hashval += *s++; @@ -65,7 +65,7 @@ struct wlist * lookup(s) const char *s; { - register struct wlist *wp; + struct wlist *wp; for (wp = hashtab[hash(s)]; wp != NULL; wp = wp->next) if (*s == *wp->string && strcmp(s, wp->string) == 0) @@ -74,7 +74,7 @@ lookup(s) } install(wp) - register struct wlist *wp; + struct wlist *wp; { int hashval; @@ -88,8 +88,8 @@ install(wp) parse() { - register struct wlist *wp; - register n; + struct wlist *wp; + int n; wordnumber = 0; /* for cypher */ for (n = 0; n <= wordcount; n++) { |