Mark a static function as static

Both the Linux and Mac debug data indicate this is static (they both
prefix static function names with an extra underscore)
This commit is contained in:
Clownacy 2020-04-16 14:45:08 +01:00
parent 8f49276d5e
commit ff45da6a0e

View file

@ -26,12 +26,7 @@ int gSuperYpos;
const char *gPassPixEve = "PXE";
void InitNpChar(void)
{
memset(gNPC, 0, sizeof(gNPC));
}
void SetUniqueParameter(NPCHAR *npc)
static void SetUniqueParameter(NPCHAR *npc)
{
int code = npc->code_char;
npc->surf = (SurfaceID)gNpcTable[code].surf;
@ -50,6 +45,11 @@ void SetUniqueParameter(NPCHAR *npc)
npc->view.bottom = gNpcTable[code].view.bottom * 0x200;
}
void InitNpChar(void)
{
memset(gNPC, 0, sizeof(gNPC));
}
BOOL LoadEvent(const char *path_event)
{
int i, n;