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