Add static keyword to static functions

This commit is contained in:
Duncan 2017-02-23 12:48:41 +00:00 committed by GitHub
parent e4b0ef428f
commit 3bb7398649
1 changed files with 3 additions and 3 deletions

View File

@ -295,7 +295,7 @@ static const uint8 EdgeSlopes[][4] = {
#pragma endregion
money32 WallPlace(uint8 wallType,
static money32 WallPlace(uint8 wallType,
sint16 x,
sint16 y,
sint16 z,
@ -578,7 +578,7 @@ money32 WallPlace(uint8 wallType,
}
}
money32 WallRemove(sint16 x, sint16 y, uint8 baseHeight, uint8 direction, uint8 flags)
static money32 WallRemove(sint16 x, sint16 y, uint8 baseHeight, uint8 direction, uint8 flags)
{
if (!map_is_location_valid(x, y))
{
@ -640,7 +640,7 @@ money32 WallRemove(sint16 x, sint16 y, uint8 baseHeight, uint8 direction, uint8
return 0;
}
money32 WallSetColour(sint16 x,
static money32 WallSetColour(sint16 x,
sint16 y,
uint8 baseHeight,
uint8 direction,