]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
moved the extern prototype for SV_ConnectClient from netconn.c to server.h since...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 12 Nov 2004 22:50:41 +0000 (22:50 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 12 Nov 2004 22:50:41 +0000 (22:50 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4741 d7cf8633-e32d-0410-b094-e92efae38249

netconn.c
server.h

index a07ce921ca0a1829eeccbd49ebdca239109c7bf3..211bd9296113aa515cf561013af3ba8ea77e7f7f 100755 (executable)
--- a/netconn.c
+++ b/netconn.c
@@ -989,7 +989,6 @@ static void NetConn_BuildChallengeString(char *buffer, int bufferlength)
        buffer[i] = 0;
 }
 
-extern void SV_ConnectClient(int clientnum, netconn_t *netconnection);
 int NetConn_ServerParsePacket(lhnetsocket_t *mysocket, qbyte *data, int length, lhnetaddress_t *peeraddress)
 {
        int i, n, ret, clientnum, responselength, best;
index 7b45edfad819aa2c05a8cae03aed51ddb5825cb7..6d43eb847e714dc0909f7a7ee7fdb1f5fbe7cee0 100644 (file)
--- a/server.h
+++ b/server.h
@@ -287,6 +287,7 @@ void SV_StartParticle (vec3_t org, vec3_t dir, int color, int count);
 void SV_StartEffect (vec3_t org, int modelindex, int startframe, int framecount, int framerate);
 void SV_StartSound (edict_t *entity, int channel, char *sample, int volume, float attenuation);
 
+void SV_ConnectClient (int clientnum, netconn_t *netconnection);
 void SV_DropClient (qboolean crash);
 
 void SV_SendClientMessages (void);