(svn r5614) Move a type declaration to its only user
author |
tron <tron@openttd.org> |
date |
Wed, 26 Jul 2006 08:41:14 +0000 |
parents |
33d7e1689aef |
children |
b3f554f90b4c |
files |
vehicle.c vehicle.h |
diffstat |
2 files changed, 1 insertions(+), 1 deletions(-)
[+]
|
line diff
--- a/vehicle.c
+++ b/vehicle.c
@@ -593,6 +593,7 @@
}
}
+typedef void VehicleTickProc(Vehicle*);
static VehicleTickProc* _vehicle_tick_procs[] = {
Train_Tick,
RoadVeh_Tick,
--- a/vehicle.h
+++ b/vehicle.h
@@ -242,7 +242,6 @@
#define IS_CUSTOM_FIRSTHEAD_SPRITE(x) (x == 0xFD)
#define IS_CUSTOM_SECONDHEAD_SPRITE(x) (x == 0xFE)
-typedef void VehicleTickProc(Vehicle *v);
typedef void *VehicleFromPosProc(Vehicle *v, void *data);
void VehicleServiceInDepot(Vehicle *v);