summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2007-03-24 16:09:39 +0000
committerpeter1138 <peter1138@openttd.org>2007-03-24 16:09:39 +0000
commitbea0993015dedeb2f3e8e0bb58940ad10c6bd0dc (patch)
tree5ea1823ab66a4408f7f5f89d8d7607c5466fa805 /src
parent9a9e891e0c07f46b751fa57b4d946e7de227a8bc (diff)
downloadopenttd-bea0993015dedeb2f3e8e0bb58940ad10c6bd0dc.tar.xz
(svn r9434) -Fix (r9418): remove typedef from forward declaration to appease MSVC or something
Diffstat (limited to 'src')
-rw-r--r--src/newgrf_cargo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_cargo.h b/src/newgrf_cargo.h
index e37d45ee0..1fd3b3d45 100644
--- a/src/newgrf_cargo.h
+++ b/src/newgrf_cargo.h
@@ -21,7 +21,7 @@ static const CargoID CT_DEFAULT = NUM_CARGO + 0;
static const CargoID CT_PURCHASE = NUM_CARGO + 1;
static const CargoID CT_DEFAULT_NA = NUM_CARGO + 2;
-typedef struct CargoSpec;
+struct CargoSpec;
SpriteID GetCustomCargoSprite(const CargoSpec *cs);
uint16 GetCargoCallback(uint16 callback, uint32 param1, uint32 param2, const CargoSpec *cs);