engine: net_ws: make net6_local global static, as it's not used outside of this translation unit

This commit is contained in:
Alibek Omarov
2025-03-15 01:24:59 +03:00
parent 1e8e4825fa
commit 3d999269eb
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -121,7 +121,7 @@ static CVAR_DEFINE_AUTO( net_resolve_debug, "0", FCVAR_PRIVILEGED, "print resolv
CVAR_DEFINE( net_clockwindow, "clockwindow", "0.5", FCVAR_PRIVILEGED, "timewindow to execute client moves" );
netadr_t net_local;
netadr_t net6_local;
static netadr_t net6_local;
// cvars equivalents for IPv6
static CVAR_DEFINE( net_ip6name, "ip6", "localhost", FCVAR_PRIVILEGED, "network ip6 address" );
-1
View File
@@ -291,7 +291,6 @@ typedef struct netchan_s
extern netadr_t net_from;
extern netadr_t net_local;
extern netadr_t net6_local;
extern sizebuf_t net_message;
extern byte net_message_buffer[NET_MAX_MESSAGE];
extern convar_t sv_lan;