(svn r1509) Const correctness and add static where appropriate while touching the lines anyway

This commit is contained in:
tron
2005-01-14 19:44:42 +00:00
parent 589215c822
commit 94c6bdfdaf
4 changed files with 11 additions and 9 deletions

View File

@@ -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);
}