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

@@ -556,7 +556,7 @@ done_timeout(int how, int which)
void
nh_timeout(void)
{
register struct prop *upp;
struct prop *upp;
struct kinfo *kptr;
boolean was_flying;
int sleeptime;
@@ -576,7 +576,7 @@ nh_timeout(void)
* neither is stopped if you don't have a luckstone.
* Luck is based at 0 usually, +1 if a full moon and -1 on Friday 13th
*/
register int time_luck = stone_luck(FALSE);
int time_luck = stone_luck(FALSE);
boolean nostone = !carrying(LUCKSTONE) && !stone_luck(TRUE);
if (u.uluck > baseluck && (nostone || time_luck < 0))
@@ -1782,7 +1782,7 @@ void
do_storms(void)
{
int nstrike;
register int x, y;
int x, y;
int dirx, diry;
int count;