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

@@ -8,11 +8,11 @@
#include "hack.h"
static int bc_order(void);
static void litter(void);
static void placebc_core(void);
static void unplacebc_core(void);
static boolean check_restriction(int);
staticfn int bc_order(void);
staticfn void litter(void);
staticfn void placebc_core(void);
staticfn void unplacebc_core(void);
staticfn boolean check_restriction(int);
static int bcrestriction = 0;
#ifdef BREADCRUMBS
@@ -116,7 +116,7 @@ ballfall(void)
*
* Should not be called while swallowed except on waterlevel.
*/
static void
staticfn void
placebc_core(void)
{
if (!uchain || !uball) {
@@ -143,7 +143,7 @@ placebc_core(void)
bcrestriction = 0;
}
static void
staticfn void
unplacebc_core(void)
{
if (u.uswallow) {
@@ -176,7 +176,7 @@ unplacebc_core(void)
u.bc_felt = 0; /* feel nothing */
}
static boolean
staticfn boolean
check_restriction(int restriction)
{
boolean ret = FALSE;
@@ -350,7 +350,7 @@ Lift_covet_and_placebc(int pin, char *funcnm, int linenum)
* Return the stacking of the hero's ball & chain. This assumes that the
* hero is being punished.
*/
static int
staticfn int
bc_order(void)
{
struct obj *obj;
@@ -964,7 +964,7 @@ drop_ball(coordxy x, coordxy y)
RESTORE_WARNING_FORMAT_NONLITERAL
/* ball&chain cause hero to randomly lose stuff from inventory */
static void
staticfn void
litter(void)
{
struct obj *otmp, *nextobj = 0;