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

@@ -104,9 +104,9 @@ missmm(
*/
/* have monsters fight each other */
int
fightm(register struct monst *mtmp)
fightm(struct monst *mtmp)
{
register struct monst *mon, *nmon;
struct monst *mon, *nmon;
int result, has_u_swallowed;
/* perhaps the monster will resist Conflict */
if (resist_conflict(mtmp))
@@ -289,8 +289,8 @@ mdisplacem(
*/
int
mattackm(
register struct monst *magr,
register struct monst *mdef)
struct monst *magr,
struct monst *mdef)
{
int i, /* loop counter */
tmp, /* armor class difference */