(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)
authorbjarni
Wed, 30 Aug 2006 19:49:46 +0000
changeset 4460 f5457e687b3e
parent 4459 dca857fd3ee9
child 4461 905cb9ca6fe5
(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)
vehicle_gui.c
vehicle_gui.h
--- 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[];