}
/* normal getobj callback for item to #adjust; excludes gold */
-int
+static int
adjust_ok(struct obj *obj)
{
if (!obj || obj->oclass == COIN_CLASS)
}
/* getobj callback for item to #adjust if gold is wonky; allows gold */
-int
+static int
adjust_gold_ok(struct obj *obj)
{
if (!obj)
* Prefix-handling functions
*/
-int
+static int
pfxfn_cond_(int optidx UNUSED, int req, boolean negated,
char *opts, char *op UNUSED)
{
return optn_ok;
}
-int
+static int
pfxfn_font(int optidx, int req, boolean negated, char *opts, char *op)
{
int opttype = -1;
/* 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)];
}
}
-int
+static int
length_without_val(const char *user_string, int len)
{
const char *p = index(user_string, ':'),
}
/* 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 == ' '
return cnt;
}
-int
+static int
count_apes(void)
{
int numapes = 0;
/* Callback for getpos_sethilite, also used in determining whether a scroll
* should have its regular effects, or not because it was out of range.
*/
-boolean
+static boolean
can_center_cloud(int x, int y)
{
if (!valid_cloud_pos(x, y))