From d032f8e0e96e0d848fe3bccd0a819069acbc6912 Mon Sep 17 00:00:00 2001 From: cloudwalk Date: Tue, 29 Sep 2020 00:33:12 +0000 Subject: [PATCH] cl_main: Make reconnect's function static and remove its prototype. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12955 d7cf8633-e32d-0410-b094-e92efae38249 --- cl_main.c | 2 +- quakedef.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/cl_main.c b/cl_main.c index 8ec423e1..69f8e622 100644 --- a/cl_main.c +++ b/cl_main.c @@ -430,7 +430,7 @@ This command causes the client to wait for the signon messages again. This is sent just before a server changes levels ================== */ -void CL_Reconnect_f(cmd_state_t *cmd) +static void CL_Reconnect_f(cmd_state_t *cmd) { char temp[128]; // if not connected, reconnect to the most recent server diff --git a/quakedef.h b/quakedef.h index 77a171fc..e475ffa7 100644 --- a/quakedef.h +++ b/quakedef.h @@ -571,7 +571,6 @@ void Host_Quit_f(cmd_state_t *cmd); void SV_ClientCommands(const char *fmt, ...) DP_FUNC_PRINTF(1); double SV_Frame(double time); void SV_Shutdown(void); -void CL_Reconnect_f(cmd_state_t *cmd); void Host_NoOperation_f(cmd_state_t *cmd); void Host_LockSession(void); void Host_UnlockSession(void); -- 2.39.2