# HG changeset patch # User bjarni # Date 1156967386 0 # Node ID 2cc317dc208e9bc0207459b7526c30fa5b187cbb # Parent d6bbd451288cd74ba49e83bfc4fc109226a5b079 (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) diff --git a/vehicle_gui.c b/vehicle_gui.c --- a/vehicle_gui.c +++ b/vehicle_gui.c @@ -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; diff --git a/vehicle_gui.h b/vehicle_gui.h --- a/vehicle_gui.h +++ b/vehicle_gui.h @@ -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[];