remove register from variable declarations
This commit is contained in:
@@ -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 <= ',')
|
||||
|
||||
Reference in New Issue
Block a user