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

@@ -283,7 +283,7 @@ in_trouble(void)
static struct obj *
worst_cursed_item(void)
{
register struct obj *otmp;
struct obj *otmp;
/* if strained or worse, check for loadstone first */
if (near_capacity() >= HVY_ENCUMBER) {
@@ -1265,7 +1265,7 @@ pleased(aligntyp g_align)
disp.botl = TRUE;
break;
case 4: {
register struct obj *otmp;
struct obj *otmp;
int any = 0;
if (Blind)
@@ -1368,8 +1368,8 @@ pleased(aligntyp g_align)
static boolean
water_prayer(boolean bless_water)
{
register struct obj *otmp;
register long changed = 0;
struct obj *otmp;
long changed = 0;
boolean other = FALSE, bc_known = !(Blind || Hallucination);
for (otmp = gl.level.objects[u.ux][u.uy]; otmp; otmp = otmp->nexthere) {
@@ -2581,7 +2581,7 @@ altar_wrath(coordxy x, coordxy y)
static boolean
blocked_boulder(int dx, int dy)
{
register struct obj *otmp;
struct obj *otmp;
int nx, ny;
long count = 0L;