(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)
--- a/vehicle_gui.c Wed Aug 30 19:42:20 2006 +0000
+++ b/vehicle_gui.c Wed Aug 30 19:49:46 2006 +0000
@@ -198,7 +198,7 @@
vl->flags |= VL_RESORT;
}
-void SortVehicleList(vehiclelist_d *vl)
+static void SortVehicleList(vehiclelist_d *vl)
{
if (!(vl->flags & VL_RESORT)) return;
--- a/vehicle_gui.h Wed Aug 30 19:42:20 2006 +0000
+++ b/vehicle_gui.h Wed Aug 30 19:49:46 2006 +0000
@@ -17,8 +17,6 @@
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[];