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_server.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_server.c')
-rw-r--r-- | network_server.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/network_server.c b/network_server.c index eccf91114..219ba9844 100644 --- a/network_server.c +++ b/network_server.c @@ -1323,7 +1323,7 @@ void NetworkUpdateClientInfo(uint16 client_index) extern void SwitchMode(int new_mode); /* Check if we want to restart the map */ -static void NetworkCheckRestartMap() +static void NetworkCheckRestartMap(void) { if (_network_restart_game_date != 0 && _cur_year + MAX_YEAR_BEGIN_REAL >= _network_restart_game_date) { _docommand_recursive = 0; @@ -1342,7 +1342,7 @@ static void NetworkCheckRestartMap() 1) If a company is not protected, it is closed after 1 year (for example) 2) If a company is protected, protection is disabled after 3 years (for example) (and item 1. happens a year later) */ -static void NetworkAutoCleanCompanies() +static void NetworkAutoCleanCompanies(void) { NetworkClientState *cs; NetworkClientInfo *ci; |