NOSTATICFN for src/*

This commit is contained in:
nhkeni
2024-03-14 17:41:51 -04:00
parent d523041b60
commit 9c0ed8ae63
111 changed files with 3871 additions and 3879 deletions

View File

@@ -5,12 +5,12 @@
#include "hack.h"
static const char *equipname(struct obj *);
static int unstolenarm(void);
static int stealarm(void);
static void worn_item_removal(struct monst *, struct obj *);
staticfn const char *equipname(struct obj *);
staticfn int unstolenarm(void);
staticfn int stealarm(void);
staticfn void worn_item_removal(struct monst *, struct obj *);
static const char *
staticfn const char *
equipname(struct obj *otmp)
{
return ((otmp == uarmu) ? shirt_simple_name(otmp)
@@ -156,7 +156,7 @@ unresponsive(void)
/* called via (*ga.afternmv)() when hero finishes taking off armor that
was slated to be stolen but the thief died in the interim */
static int
staticfn int
unstolenarm(void)
{
struct obj *obj;
@@ -174,7 +174,7 @@ unstolenarm(void)
}
/* finish stealing an item of armor which takes multiple turns to take off */
static int
staticfn int
stealarm(void)
{
struct monst *mtmp;
@@ -313,7 +313,7 @@ remove_worn_item(
}
/* during theft of a worn item: remove_worn_item(), prefaced by a message */
static void
staticfn void
worn_item_removal(
struct monst *mon,
struct obj *obj)