static keyword on prototype, but function missing it
error 28 in line 4090 of "invent.c": redeclaration of var <adjust_ok> with new storage-class error 28 in line 4100 of "invent.c": redeclaration of var <adjust_gold_ok> with new storage-class error 28 in line 610 of "mdlib.c": redeclaration of var <count_and_validate_winopts> with new storage-class error 28 in line 3846 of "options.c": redeclaration of var <pfxfn_cond_> with new storage-class error 28 in line 3886 of "options.c": redeclaration of var <pfxfn_font> with new storage-class error 28 in line 5307 of "options.c": redeclaration of var <determine_ambiguities> with new storage-class error 28 in line 5343 of "options.c": redeclaration of var <length_without_val> with new storage-class error 28 in line 6853 of "options.c": redeclaration of var <illegal_menu_cmd_key> with new storage-class error 28 in line 7708 of "options.c": redeclaration of var <count_apes> with new storage-class error 28 in line 2686 of "pickup.c": redeclaration of var <stash_ok> with new storage-class error 28 in line 1008 of "read.c": redeclaration of var <can_center_cloud> with new storage-class error 28 in line 31 of "rnd.c": redeclaration of var <whichrng> with new storage-class
This commit is contained in:
@@ -605,7 +605,7 @@ static const char *const build_opts[] = {
|
||||
"and basic NetHack features"
|
||||
};
|
||||
|
||||
int
|
||||
static int
|
||||
count_and_validate_winopts(void)
|
||||
{
|
||||
int i, cnt = 0;
|
||||
|
||||
Reference in New Issue
Block a user