remove register from variable declarations
This commit is contained in:
4
src/do.c
4
src/do.c
@@ -1368,7 +1368,7 @@ save_currentstate(void)
|
||||
|
||||
/*
|
||||
static boolean
|
||||
badspot(register coordxy x, register coordxy y)
|
||||
badspot(coordxy x, coordxy y)
|
||||
{
|
||||
return (boolean) ((levl[x][y].typ != ROOM
|
||||
&& levl[x][y].typ != AIR
|
||||
@@ -1693,7 +1693,7 @@ goto_level(
|
||||
|
||||
if (portal && !In_endgame(&u.uz)) {
|
||||
/* find the portal on the new level */
|
||||
register struct trap *ttrap;
|
||||
struct trap *ttrap;
|
||||
|
||||
for (ttrap = gf.ftrap; ttrap; ttrap = ttrap->ntrap)
|
||||
if (ttrap->ttyp == MAGIC_PORTAL)
|
||||
|
||||
Reference in New Issue
Block a user