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 /road_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 'road_gui.c')
-rw-r--r-- | road_gui.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/road_gui.c b/road_gui.c index 5d23b3f04..046eb34f9 100644 --- a/road_gui.c +++ b/road_gui.c @@ -12,9 +12,9 @@ #include "station.h" -static void ShowBusStationPicker(); -static void ShowTruckStationPicker(); -static void ShowRoadDepotPicker(); +static void ShowBusStationPicker(void); +static void ShowTruckStationPicker(void); +static void ShowRoadDepotPicker(void); static bool _remove_button_clicked; static bool _build_road_flag; @@ -302,7 +302,7 @@ static const WindowDesc _build_road_desc = { BuildRoadToolbWndProc }; -void ShowBuildRoadToolbar() +void ShowBuildRoadToolbar(void) { if (_current_player == OWNER_SPECTATOR) return; DeleteWindowById(WC_BUILD_TOOLBAR, 0); @@ -335,7 +335,7 @@ static const WindowDesc _build_road_scen_desc = { BuildRoadToolbWndProc }; -void ShowBuildRoadScenToolbar() +void ShowBuildRoadScenToolbar(void) { AllocateWindowDescFront(&_build_road_scen_desc, 0); } @@ -398,7 +398,7 @@ static const WindowDesc _build_road_depot_desc = { BuildRoadDepotWndProc }; -static void ShowRoadDepotPicker() +static void ShowRoadDepotPicker(void) { AllocateWindowDesc(&_build_road_depot_desc); } @@ -493,7 +493,7 @@ static const WindowDesc _bus_station_picker_desc = { RoadStationPickerWndProc }; -static void ShowBusStationPicker() +static void ShowBusStationPicker(void) { AllocateWindowDesc(&_bus_station_picker_desc); } @@ -519,12 +519,12 @@ static const WindowDesc _truck_station_picker_desc = { RoadStationPickerWndProc }; -static void ShowTruckStationPicker() +static void ShowTruckStationPicker(void) { AllocateWindowDesc(&_truck_station_picker_desc); } -void InitializeRoadGui() +void InitializeRoadGui(void) { _road_depot_orientation = 3; _road_station_picker_orientation = 3; |