diff options
author | rubidium <rubidium@openttd.org> | 2007-03-07 11:47:46 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-03-07 11:47:46 +0000 |
commit | 4169bfba0604b33bad92389bd3eb6f9acde89f49 (patch) | |
tree | 5676d0d54be47c40d975fdeb1026317fc2a010db /src/order_cmd.cpp | |
parent | 3e2fae03bdfcc672cffd342e5fadf06cff41e4e6 (diff) | |
download | openttd-4169bfba0604b33bad92389bd3eb6f9acde89f49.tar.xz |
(svn r9050) -Codechange: Foo(void) -> Foo()
Diffstat (limited to 'src/order_cmd.cpp')
-rw-r--r-- | src/order_cmd.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/order_cmd.cpp b/src/order_cmd.cpp index 73c78b097..a703bdaaa 100644 --- a/src/order_cmd.cpp +++ b/src/order_cmd.cpp @@ -109,7 +109,7 @@ static void SwapOrders(Order *order1, Order *order2) * @return Order* if a free space is found, else NULL. * */ -static Order *AllocateOrder(void) +static Order *AllocateOrder() { Order *order; @@ -1199,7 +1199,7 @@ bool CheckForValidOrders(const Vehicle* v) return false; } -void InitializeOrders(void) +void InitializeOrders() { CleanPool(&_Order_pool); AddBlockToPool(&_Order_pool); @@ -1221,7 +1221,7 @@ static const SaveLoad _order_desc[] = { SLE_END() }; -static void Save_ORDR(void) +static void Save_ORDR() { Order *order; @@ -1231,7 +1231,7 @@ static void Save_ORDR(void) } } -static void Load_ORDR(void) +static void Load_ORDR() { if (CheckSavegameVersionOldStyle(5, 2)) { /* Version older than 5.2 did not have a ->next pointer. Convert them |