NOSTATICFN for src/*
This commit is contained in:
16
src/steal.c
16
src/steal.c
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user