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

@@ -510,7 +510,7 @@ static NEARDATA const int pwep[] = { HALBERD, BARDICHE, SPETUM,
struct obj *
select_rwep(struct monst *mtmp)
{
register struct obj *otmp;
struct obj *otmp;
struct obj *mwep;
boolean mweponly;
int i;
@@ -655,8 +655,8 @@ static const NEARDATA short hwep[] = {
struct obj *
select_hwep(struct monst *mtmp)
{
register struct obj *otmp;
register int i;
struct obj *otmp;
int i;
boolean strong = strongmonst(mtmp->data);
boolean wearing_shield = (mtmp->misc_worn_check & W_ARMS) != 0;