From eee6aed033c490ed4c1b84907ea56164125aa845 Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Thu, 9 Jan 2025 17:05:28 +0100 Subject: [PATCH] Engine: qualify functions as static where possible --- src/engine/host_cmd.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/engine/host_cmd.cpp b/src/engine/host_cmd.cpp index 9845dfe9..f037dc51 100644 --- a/src/engine/host_cmd.cpp +++ b/src/engine/host_cmd.cpp @@ -15,7 +15,7 @@ Host_Shutdown systems ================== */ -void Host_Shutdown() +static void Host_Shutdown() { #ifndef DEDICATED DirectX_Shutdown(); @@ -31,7 +31,7 @@ Host_Status_PrintClient to console ================== */ -void Host_Status_PrintClient(CClient* client, bool bShowAddress, void (*print) (const char* fmt, ...)) +static void Host_Status_PrintClient(CClient* client, bool bShowAddress, void (*print) (const char* fmt, ...)) { CNetChan* nci = client->GetNetChan(); const char* state = "challenging"; @@ -70,7 +70,7 @@ DFS_InitializeFeatureFlagDefinitions flag definitions ================== */ -bool DFS_InitializeFeatureFlagDefinitions(const char* pszFeatureFlags) +static bool DFS_InitializeFeatureFlagDefinitions(const char* pszFeatureFlags) { if (CommandLine()->CheckParm("-nodfs")) return false;