E int FDECL(count_buc, (struct obj *,int));
E void FDECL(carry_obj_effects, (struct obj *));
E const char *FDECL(currency, (long));
+E void FDECL(silly_thing, (const char *,struct obj *));
/* ### ioctl.c ### */
/* getobj can't do this after setting its allow_all flag; that
happens if you have armor for slots that are covered up or
extra armor for slots that are filled */
- if (noisy) pline(silly_thing_to, "wear");
+ if (noisy) silly_thing("wear", otmp);
err++;
}
/* Unnecessary since now only weapons and special items like pick-axes get
STATIC_PTR int FDECL(ckunpaid,(struct obj *));
STATIC_PTR int FDECL(ckvalidcat,(struct obj *));
static char FDECL(display_pickinv, (const char *,BOOLEAN_P, long *));
-STATIC_DCL void FDECL(silly_thing, (const char *,const char *,struct obj *));
#ifdef OVLB
STATIC_DCL boolean FDECL(this_type_only, (struct obj *));
STATIC_DCL void NDECL(dounpaid);
&& !(usegold && otmp->oclass == COIN_CLASS)
#endif
) {
- silly_thing(let, word, otmp);
+ silly_thing(word, otmp);
return((struct obj *)0);
}
if(allowcnt == 2) { /* cnt given */
return(otmp);
}
-STATIC_OVL void
-silly_thing(let, word, otmp)
-const char *let, *word;
+void
+silly_thing(word, otmp)
+const char *word;
struct obj *otmp;
{
int otyp = otmp->otyp;