From 189ca7370762dca088a13d08ccb035e364758abb Mon Sep 17 00:00:00 2001 From: tron Date: Sat, 22 Jan 2005 20:23:18 +0000 Subject: (svn r1594) Convert all undefined parameter lists to (void) and add the appropriate warning flags in the Makefile --- dock_gui.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'dock_gui.c') 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; } -- cgit v1.2.3-54-g00ecf