diff options
author | bjarni <bjarni@openttd.org> | 2006-08-30 19:49:46 +0000 |
---|---|---|
committer | bjarni <bjarni@openttd.org> | 2006-08-30 19:49:46 +0000 |
commit | 1983c07955204111288fb017770e6c988e4fcda4 (patch) | |
tree | 0e7a9605d41493253c63619bb50ea6878e0f5bb7 | |
parent | 2a07ed9d46ecf07a6ea0c802970c4a3c70dd76eb (diff) | |
download | openttd-1983c07955204111288fb017770e6c988e4fcda4.tar.xz |
(svn r6243) -Codechange: made SortVehicleList() static as well since that one is not used in any other files either (Thanks Tron for pointing this out)
-rw-r--r-- | vehicle_gui.c | 2 | ||||
-rw-r--r-- | vehicle_gui.h | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/vehicle_gui.c b/vehicle_gui.c index e76700241..bec8e1516 100644 --- a/vehicle_gui.c +++ b/vehicle_gui.c @@ -198,7 +198,7 @@ static void BuildVehicleList(vehiclelist_d* vl, int type, PlayerID owner, Statio vl->flags |= VL_RESORT; } -void SortVehicleList(vehiclelist_d *vl) +static void SortVehicleList(vehiclelist_d *vl) { if (!(vl->flags & VL_RESORT)) return; diff --git a/vehicle_gui.h b/vehicle_gui.h index 103f5db9e..1b2bc6a1a 100644 --- a/vehicle_gui.h +++ b/vehicle_gui.h @@ -17,8 +17,6 @@ void InitializeVehiclesGuiList(void); void RebuildVehicleLists(void); void ResortVehicleLists(void); -void SortVehicleList(struct vehiclelist_d *vl); - #define PERIODIC_RESORT_DAYS 10 #define SORT_BY_UNSORTED 0 extern const StringID _vehicle_sort_listing[]; |