summaryrefslogtreecommitdiff
path: root/network.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-01-22 20:23:18 +0000
committertron <tron@openttd.org>2005-01-22 20:23:18 +0000
commit189ca7370762dca088a13d08ccb035e364758abb (patch)
treef77535f8809840126757131b192e611f6d912bdf /network.c
parent7984a9a5007f4bdf1107cdf646c42e3e137f65cf (diff)
downloadopenttd-189ca7370762dca088a13d08ccb035e364758abb.tar.xz
(svn r1594) Convert all undefined parameter lists to (void) and add the appropriate warning flags in the Makefile
Diffstat (limited to 'network.c')
-rw-r--r--network.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/network.c b/network.c
index c5157842d..59535a1ef 100644
--- a/network.c
+++ b/network.c
@@ -41,9 +41,9 @@ static byte _network_clients_connected = 0;
static uint16 _network_client_index = NETWORK_SERVER_INDEX + 1;
/* Some externs / forwards */
-extern void ShowJoinStatusWindow();
-extern void StateGameLoop();
-extern uint GetCurrentCurrencyRate();
+extern void ShowJoinStatusWindow(void);
+extern void StateGameLoop(void);
+extern uint GetCurrentCurrencyRate(void);
// Function that looks up the CI for a given client-index
NetworkClientInfo *NetworkFindClientInfoFromIndex(uint16 client_index)
@@ -878,7 +878,7 @@ void NetworkAddServer(const byte *b)
/* Generates the list of manually added hosts from NetworkGameList and
* dumps them into the array _network_host_list. This array is needed
* by the function that generates the config file. */
-void NetworkRebuildHostList()
+void NetworkRebuildHostList(void)
{
uint i = 0;
NetworkGameList *item = _network_game_list;