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