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 /network.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 'network.c')
-rw-r--r-- | network.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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; |