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

@@ -40,7 +40,7 @@ main(int argc, char *argv[])
{
NHFILE *nhfp;
#ifdef CHDIR
register char *dir;
char *dir;
#endif
boolean resuming = FALSE; /* assume new game */
@@ -388,7 +388,7 @@ whoami(void)
* Note that we trust the user here; it is possible to play under
* somebody else's name.
*/
register char *s;
char *s;
if (!*gp.plname && (s = nh_getenv("USER")))
(void) lcase(strncpy(gp.plname, s, sizeof(gp.plname) - 1));