diff options
author | tron <tron@openttd.org> | 2005-12-14 06:20:23 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-12-14 06:20:23 +0000 |
commit | 23bfc03054c52065006a73d8cebdeee068784892 (patch) | |
tree | 5042ddfac1e3c26fb99ea38d0bd4b90959a93d61 /waypoint.c | |
parent | ce94c90a7b966c0bff294f2b582068d984ba172c (diff) | |
download | openttd-23bfc03054c52065006a73d8cebdeee068784892.tar.xz |
(svn r3297) Staticise
Diffstat (limited to 'waypoint.c')
-rw-r--r-- | waypoint.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/waypoint.c b/waypoint.c index 53844a609..8d323eb3a 100644 --- a/waypoint.c +++ b/waypoint.c @@ -41,7 +41,7 @@ static void WaypointPoolNewBlock(uint start_item) MemoryPool _waypoint_pool = { "Waypoints", WAYPOINT_POOL_MAX_BLOCKS, WAYPOINT_POOL_BLOCK_SIZE_BITS, sizeof(Waypoint), &WaypointPoolNewBlock, 0, 0, NULL }; /* Create a new waypoint */ -Waypoint *AllocateWaypoint(void) +static Waypoint* AllocateWaypoint(void) { Waypoint *wp; @@ -72,7 +72,7 @@ void UpdateWaypointSign(Waypoint *wp) } /* Redraw the sign of a waypoint */ -void RedrawWaypointSign(Waypoint *wp) +static void RedrawWaypointSign(const Waypoint* wp) { MarkAllViewportsDirty( wp->sign.left - 6, @@ -93,7 +93,7 @@ void UpdateAllWaypointSigns(void) } /* Set the default name for a waypoint */ -void MakeDefaultWaypointName(Waypoint *wp) +static void MakeDefaultWaypointName(Waypoint* wp) { Waypoint *local_wp; bool used_waypoint[MAX_WAYPOINTS_PER_TOWN]; |