]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
cl_main: Make reconnect's function static and remove its prototype.
authorcloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 29 Sep 2020 00:33:12 +0000 (00:33 +0000)
committercloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 29 Sep 2020 00:33:12 +0000 (00:33 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12955 d7cf8633-e32d-0410-b094-e92efae38249

cl_main.c
quakedef.h

index 8ec423e155436ed763d5fc2c4ed21fd47b5e4307..69f8e6228e51f69892a80cc42cafcec18d6d24a4 100644 (file)
--- 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
index 77a171fcb0a9ccc285ceb242fc785efe1c9cd994..e475ffa75b6c43a87235d61fd4dc4d3290a7984f 100644 (file)
@@ -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);