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:
nhmall
2022-02-02 15:33:49 -05:00
parent afe36abdac
commit c26bae521b
6 changed files with 12 additions and 12 deletions

View File

@@ -3840,7 +3840,7 @@ optfn_windowtype(int optidx, int req, boolean negated UNUSED,
* Prefix-handling functions
*/
int
static int
pfxfn_cond_(int optidx UNUSED, int req, boolean negated,
char *opts, char *op UNUSED)
{
@@ -3881,7 +3881,7 @@ pfxfn_cond_(int optidx UNUSED, int req, boolean negated,
return optn_ok;
}
int
static int
pfxfn_font(int optidx, int req, boolean negated, char *opts, char *op)
{
int opttype = -1;
@@ -5302,7 +5302,7 @@ bad_negation(const char *optname, boolean with_parameter)
/* go through all of the options and set the minmatch value
based on what is needed for uniqueness of each individual
option. Set a minimum of 3 characters. */
void
static void
determine_ambiguities(void)
{
int i, j, len, tmpneeded, needed[SIZE(allopt)];
@@ -5338,7 +5338,7 @@ determine_ambiguities(void)
}
}
int
static int
length_without_val(const char *user_string, int len)
{
const char *p = index(user_string, ':'),
@@ -6848,7 +6848,7 @@ parse_role_opts(int optidx, boolean negated, const char *fullname,
}
/* Check if character c is illegal as a menu command key */
boolean
static boolean
illegal_menu_cmd_key(uchar c)
{
if (c == 0 || c == '\r' || c == '\n' || c == '\033' || c == ' '
@@ -7703,7 +7703,7 @@ count_cond(void)
return cnt;
}
int
static int
count_apes(void)
{
int numapes = 0;