Set functions static

This commit is contained in:
Asdow
2025-11-23 18:28:17 +02:00
parent 4a813e567a
commit 4a43b7704e
+4 -4
View File
@@ -133,7 +133,7 @@ void SelectNextUnplacedUnit();
BOOLEAN gfNorthValid, gfEastValid, gfSouthValid, gfWestValid; BOOLEAN gfNorthValid, gfEastValid, gfSouthValid, gfWestValid;
BOOLEAN gfChangedEntrySide = FALSE; BOOLEAN gfChangedEntrySide = FALSE;
void FindValidInsertionCode( UINT8 *pubStrategicInsertionCode ) static void FindValidInsertionCode( UINT8 *pubStrategicInsertionCode )
{ {
if( gMapInformation.sNorthGridNo == -1 && if( gMapInformation.sNorthGridNo == -1 &&
gMapInformation.sEastGridNo == -1 && gMapInformation.sEastGridNo == -1 &&
@@ -202,7 +202,7 @@ void FindValidInsertionCode( UINT8 *pubStrategicInsertionCode )
} }
} }
void CheckForValidMapEdge( UINT8 *pubStrategicInsertionCode ) static void CheckForValidMapEdge( UINT8 *pubStrategicInsertionCode )
{ {
switch( *pubStrategicInsertionCode ) switch( *pubStrategicInsertionCode )
{ {
@@ -1464,7 +1464,7 @@ void RenderTacticalPlacementGUI()
} }
} }
void EnsureDoneButtonStatus() static void EnsureDoneButtonStatus()
{ {
INT32 i; INT32 i;
//static BOOLEAN fInside = FALSE; //static BOOLEAN fInside = FALSE;
@@ -1783,7 +1783,7 @@ void KillTacticalPlacementGUI()
MemFree( gMercPlacement); MemFree( gMercPlacement);
} }
void ChooseRandomEdgepoints() static void ChooseRandomEdgepoints()
{ {
INT32 i; INT32 i;
UINT8 lastValidICode = INSERTION_CODE_GRIDNO; UINT8 lastValidICode = INSERTION_CODE_GRIDNO;