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

@@ -39,7 +39,7 @@ static int eraseoldlocks(void);
static int
eraseoldlocks(void)
{
register int i;
int i;
/* cannot use maxledgerno() here, because we need to find a lock name
* before starting everything (including the dungeon initialization
@@ -63,7 +63,7 @@ eraseoldlocks(void)
void
getlock(void)
{
register int fd, c, ci, ct;
int fd, c, ci, ct;
int fcmask = FCMASK;
char tbuf[BUFSZ];
const char *fq_lock;
@@ -201,13 +201,13 @@ gotlock:
#endif /* PC_LOCKING */
void
regularize(register char *s)
regularize(char *s)
/*
* normalize file name - we don't like .'s, /'s, spaces, and
* lots of other things
*/
{
register char *lp;
char *lp;
for (lp = s; *lp; lp++)
if (*lp <= ' ' || *lp == '"' || (*lp >= '*' && *lp <= ',')