diff options
author | tron <tron@openttd.org> | 2005-01-14 19:44:42 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-01-14 19:44:42 +0000 |
commit | 3a838447a8b07f880567b452f274e732c0c712b4 (patch) | |
tree | d828e21ec23baa344c4322a92d6bca5c68aa692a /network.c | |
parent | 4136f395bf45b537d9756efb045c7db4bafa975d (diff) | |
download | openttd-3a838447a8b07f880567b452f274e732c0c712b4.tar.xz |
(svn r1509) Const correctness and add static where appropriate while touching the lines anyway
Diffstat (limited to 'network.c')
-rw-r--r-- | network.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -188,12 +188,14 @@ void NetworkError(StringID error_string) _switch_mode_errorstr = error_string; } -void ClientStartError(char *error) { +static void ClientStartError(const char *error) +{ DEBUG(net, 0)("[NET] Client could not start network: %s",error); NetworkError(STR_NETWORK_ERR_CLIENT_START); } -void ServerStartError(char *error) { +static void ServerStartError(const char *error) +{ DEBUG(net, 0)("[NET] Server could not start network: %s",error); NetworkError(STR_NETWORK_ERR_SERVER_START); } |