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 /dock_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 'dock_gui.c')
-rw-r--r-- | dock_gui.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/dock_gui.c b/dock_gui.c index aa9d01e25..5aed706f6 100644 --- a/dock_gui.c +++ b/dock_gui.c @@ -10,8 +10,8 @@ #include "sound.h" #include "command.h" -static void ShowBuildDockStationPicker(); -static void ShowBuildDocksDepotPicker(); +static void ShowBuildDockStationPicker(void); +static void ShowBuildDocksDepotPicker(void); static byte _ship_depot_direction; @@ -202,7 +202,7 @@ static const WindowDesc _build_docks_toolbar_desc = { BuildDocksToolbWndProc }; -void ShowBuildDocksToolbar() +void ShowBuildDocksToolbar(void) { if (_current_player == OWNER_SPECTATOR) return; DeleteWindowById(WC_BUILD_TOOLBAR, 0); @@ -278,12 +278,12 @@ static const WindowDesc _build_dock_station_desc = { BuildDockStationWndProc }; -static void ShowBuildDockStationPicker() +static void ShowBuildDockStationPicker(void) { AllocateWindowDesc(&_build_dock_station_desc); } -static void UpdateDocksDirection() +static void UpdateDocksDirection(void) { if (_ship_depot_direction != 0) { SetTileSelectSize(1, 2); @@ -349,14 +349,14 @@ static const WindowDesc _build_docks_depot_desc = { }; -static void ShowBuildDocksDepotPicker() +static void ShowBuildDocksDepotPicker(void) { AllocateWindowDesc(&_build_docks_depot_desc); UpdateDocksDirection(); } -void InitializeDockGui() +void InitializeDockGui(void) { _ship_depot_direction = 0; } |