summaryrefslogtreecommitdiff
path: root/network.c
diff options
context:
space:
mode:
Diffstat (limited to 'network.c')
-rw-r--r--network.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/network.c b/network.c
index 59535a1ef..83833d7db 100644
--- a/network.c
+++ b/network.c
@@ -182,7 +182,7 @@ uint NetworkCalculateLag(const NetworkClientState *cs)
// There was a non-recoverable error, drop back to the main menu with a nice
// error
-void NetworkError(StringID error_string)
+static void NetworkError(StringID error_string)
{
_switch_mode = SM_MENU;
_switch_mode_errorstr = error_string;