From 4a43b7704e0d5e0851568b1e741a39f097112ef0 Mon Sep 17 00:00:00 2001 From: Asdow <20314541+Asdow@users.noreply.github.com> Date: Sun, 23 Nov 2025 17:23:51 +0200 Subject: [PATCH] Set functions static --- TileEngine/Tactical Placement GUI.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/TileEngine/Tactical Placement GUI.cpp b/TileEngine/Tactical Placement GUI.cpp index d63a9a73..8819c6fd 100644 --- a/TileEngine/Tactical Placement GUI.cpp +++ b/TileEngine/Tactical Placement GUI.cpp @@ -133,7 +133,7 @@ void SelectNextUnplacedUnit(); BOOLEAN gfNorthValid, gfEastValid, gfSouthValid, gfWestValid; BOOLEAN gfChangedEntrySide = FALSE; -void FindValidInsertionCode( UINT8 *pubStrategicInsertionCode ) +static void FindValidInsertionCode( UINT8 *pubStrategicInsertionCode ) { if( gMapInformation.sNorthGridNo == -1 && gMapInformation.sEastGridNo == -1 && @@ -202,7 +202,7 @@ void FindValidInsertionCode( UINT8 *pubStrategicInsertionCode ) } } -void CheckForValidMapEdge( UINT8 *pubStrategicInsertionCode ) +static void CheckForValidMapEdge( UINT8 *pubStrategicInsertionCode ) { switch( *pubStrategicInsertionCode ) { @@ -1464,7 +1464,7 @@ void RenderTacticalPlacementGUI() } } -void EnsureDoneButtonStatus() +static void EnsureDoneButtonStatus() { INT32 i; //static BOOLEAN fInside = FALSE; @@ -1783,7 +1783,7 @@ void KillTacticalPlacementGUI() MemFree( gMercPlacement); } -void ChooseRandomEdgepoints() +static void ChooseRandomEdgepoints() { INT32 i; UINT8 lastValidICode = INSERTION_CODE_GRIDNO;