summaryrefslogtreecommitdiff
path: root/airport.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-01-22 20:23:18 +0000
committertron <tron@openttd.org>2005-01-22 20:23:18 +0000
commit189ca7370762dca088a13d08ccb035e364758abb (patch)
treef77535f8809840126757131b192e611f6d912bdf /airport.c
parent7984a9a5007f4bdf1107cdf646c42e3e137f65cf (diff)
downloadopenttd-189ca7370762dca088a13d08ccb035e364758abb.tar.xz
(svn r1594) Convert all undefined parameter lists to (void) and add the appropriate warning flags in the Makefile
Diffstat (limited to 'airport.c')
-rw-r--r--airport.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/airport.c b/airport.c
index f2aad019b..4cb84fb5b 100644
--- a/airport.c
+++ b/airport.c
@@ -22,7 +22,7 @@ static byte AirportTestFTA(const AirportFTAClass *Airport);
/*static void AirportPrintOut(const AirportFTAClass *Airport, const bool full_report);
static byte AirportBlockToString(uint32 block);*/
-void InitializeAirports()
+void InitializeAirports(void)
{
// country airport
CountryAirport = malloc(sizeof(AirportFTAClass));
@@ -97,7 +97,7 @@ void InitializeAirports()
Oilrig = Heliport; // exactly the same structure for heliport/oilrig, so share state machine
}
-void UnInitializeAirports()
+void UnInitializeAirports(void)
{
AirportFTAClass_Destructor(CountryAirport);
AirportFTAClass_Destructor(CityAirport);