diff options
author | rubidium <rubidium@openttd.org> | 2007-03-07 11:47:46 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-03-07 11:47:46 +0000 |
commit | 4169bfba0604b33bad92389bd3eb6f9acde89f49 (patch) | |
tree | 5676d0d54be47c40d975fdeb1026317fc2a010db /src/network/network_gui.cpp | |
parent | 3e2fae03bdfcc672cffd342e5fadf06cff41e4e6 (diff) | |
download | openttd-4169bfba0604b33bad92389bd3eb6f9acde89f49.tar.xz |
(svn r9050) -Codechange: Foo(void) -> Foo()
Diffstat (limited to 'src/network/network_gui.cpp')
-rw-r--r-- | src/network/network_gui.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/network/network_gui.cpp b/src/network/network_gui.cpp index 4457d5b6e..a2f8ab486 100644 --- a/src/network/network_gui.cpp +++ b/src/network/network_gui.cpp @@ -54,7 +54,7 @@ static Listing _ng_sorting; static char _edit_str_buf[150]; static bool _chat_tab_completion_active; -static void ShowNetworkStartServerWindow(void); +static void ShowNetworkStartServerWindow(); static void ShowNetworkLobbyWindow(NetworkGameList *ngl); extern void SwitchMode(int new_mode); @@ -551,7 +551,7 @@ static const WindowDesc _network_game_window_desc = { NetworkGameWindowWndProc, }; -void ShowNetworkGameWindow(void) +void ShowNetworkGameWindow() { static bool first = true; Window *w; @@ -778,7 +778,7 @@ static const WindowDesc _network_start_server_window_desc = { NetworkStartServerWindowWndProc, }; -static void ShowNetworkStartServerWindow(void) +static void ShowNetworkStartServerWindow() { Window *w; DeleteWindowById(WC_NETWORK_WINDOW, 0); @@ -1151,7 +1151,7 @@ static bool CheckClientListHeight(Window *w) } // Finds the amount of actions in the popup and set the height correct -static uint ClientListPopupHeigth(void) { +static uint ClientListPopupHeigth() { int i, num = 0; // Find the amount of actions @@ -1368,7 +1368,7 @@ static void ClientListWndProc(Window *w, WindowEvent *e) } } -void ShowClientList(void) +void ShowClientList() { AllocateWindowDescFront(&_client_list_desc, 0); } @@ -1460,7 +1460,7 @@ static const WindowDesc _network_join_status_window_desc = { NetworkJoinStatusWindowWndProc, }; -void ShowJoinStatusWindow(void) +void ShowJoinStatusWindow() { Window *w; DeleteWindowById(WC_NETWORK_STATUS_WINDOW, 0); |