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

@@ -619,7 +619,7 @@ fixup_special()
num_lregions = 0;
}
void
STATIC_OVL void
check_ransacked(s)
char *s;
{
@@ -630,7 +630,7 @@ char *s;
#define ORC_LEADER 1
static const char *orcfruit[] = { "paddle cactus", "dwarven root" };
void
STATIC_OVL void
migrate_orc(mtmp, mflags)
struct monst *mtmp;
unsigned long mflags;
@@ -695,7 +695,7 @@ struct monst *mtmp;
add_to_minv(mtmp, otmp);
}
}
void
STATIC_OVL void
migr_booty_item(otyp, gang)
int otyp;
const char *gang;
@@ -716,7 +716,7 @@ const char *gang;
}
}
void
STATIC_OVL void
stolen_booty(VOID_ARGS)
{
char *gang, gang_name[BUFSZ];