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

@@ -417,7 +417,7 @@ struct obj *obj;
return xname_flags(obj, CXN_NORMAL);
}
char *
STATIC_OVL char *
xname_flags(obj, cxn_flags)
register struct obj *obj;
unsigned cxn_flags; /* bitmask of CXN_xxx values */
@@ -2576,7 +2576,7 @@ const char *oldstr;
return bp;
}
boolean
STATIC_OVL boolean
badman(basestr, to_plural)
const char *basestr;
boolean to_plural; /* true => makeplural, false => makesingular */