remove register from variable declarations

This commit is contained in:
nhmall
2024-02-19 16:30:07 -05:00
parent 6f569f0a27
commit 688ac6ffbe
113 changed files with 836 additions and 835 deletions

View File

@@ -233,8 +233,8 @@ deadbook(struct obj* book2)
/* KMH -- Need ->known to avoid "_a_ Book of the Dead" */
book2->known = 1;
if (invocation_pos(u.ux, u.uy) && !On_stairs(u.ux, u.uy)) {
register struct obj *otmp;
register boolean arti1_primed = FALSE, arti2_primed = FALSE,
struct obj *otmp;
boolean arti1_primed = FALSE, arti2_primed = FALSE,
arti_cursed = FALSE;
if (book2->cursed) {
@@ -448,7 +448,7 @@ learn(void)
RESTORE_WARNING_FORMAT_NONLITERAL
int
study_book(register struct obj* spellbook)
study_book(struct obj* spellbook)
{
int booktype = spellbook->otyp, i;
boolean confused = (Confusion != 0);