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:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user