diff options
author | tron <tron@openttd.org> | 2005-01-22 20:23:18 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-01-22 20:23:18 +0000 |
commit | 189ca7370762dca088a13d08ccb035e364758abb (patch) | |
tree | f77535f8809840126757131b192e611f6d912bdf /airport_gui.c | |
parent | 7984a9a5007f4bdf1107cdf646c42e3e137f65cf (diff) | |
download | openttd-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_gui.c')
-rw-r--r-- | airport_gui.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/airport_gui.c b/airport_gui.c index f5537ecc7..107b493d9 100644 --- a/airport_gui.c +++ b/airport_gui.c @@ -14,7 +14,7 @@ static byte _selected_airport_type; -static void ShowBuildAirportPicker(); +static void ShowBuildAirportPicker(void); void CcBuildAirport(bool success, uint tile, uint32 p1, uint32 p2) @@ -124,7 +124,7 @@ static const WindowDesc _air_toolbar_desc = { BuildAirToolbWndProc }; -void ShowBuildAirToolbar() +void ShowBuildAirToolbar(void) { if (_current_player == OWNER_SPECTATOR) return; DeleteWindowById(WC_BUILD_TOOLBAR, 0); @@ -232,12 +232,12 @@ static const WindowDesc _build_airport_desc = { BuildAirportPickerWndProc }; -static void ShowBuildAirportPicker() +static void ShowBuildAirportPicker(void) { AllocateWindowDesc(&_build_airport_desc); } -void InitializeAirportGui() +void InitializeAirportGui(void) { _selected_airport_type = AT_SMALL; _last_built_aircraft_depot_tile = 0; |