if prototype is declared static make function static to match

Today, a compiler was encountered that considered it an error
to have the prototype declared static and the function body
not
This commit is contained in:
nhmall
2019-07-13 00:17:23 -04:00
parent 2f3da35c68
commit 638d9f9363
18 changed files with 40 additions and 38 deletions

View File

@@ -1611,7 +1611,7 @@ int x,y;
&& is_valid_jump_pos(x, y, jumping_is_magic, FALSE));
}
void
STATIC_OVL void
display_jump_positions(state)
int state;
{
@@ -2870,7 +2870,7 @@ static const char
cant_reach[] = "can't reach that spot from here.";
/* find pos of monster in range, if only one monster */
boolean
STATIC_OVL boolean
find_poleable_mon(pos, min_range, max_range)
coord *pos;
int min_range, max_range;
@@ -2926,7 +2926,7 @@ int x, y;
&& distu(x, y) <= polearm_range_max);
}
void
STATIC_OVL void
display_polearm_positions(state)
int state;
{