remove register from variable declarations
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user