mark functions static (#4010)
This commit is contained in:
parent
f0e24f9a46
commit
bbd9f02d08
7 changed files with 43 additions and 43 deletions
|
@ -232,7 +232,7 @@ Check whether a certain address is banned
|
|||
==================
|
||||
*/
|
||||
|
||||
qboolean SV_IsBanned(netadr_t *from, qboolean isexception)
|
||||
static qboolean SV_IsBanned(netadr_t *from, qboolean isexception)
|
||||
{
|
||||
int index, addrlen, curbyte, netmask, cmpmask;
|
||||
serverBan_t *curban;
|
||||
|
@ -644,7 +644,7 @@ It will be resent if the client acknowledges a later message but has
|
|||
the wrong gamestate.
|
||||
================
|
||||
*/
|
||||
void SV_SendClientGameState( client_t *client ) {
|
||||
static void SV_SendClientGameState( client_t *client ) {
|
||||
int start;
|
||||
entityState_t *base, nullstate;
|
||||
msg_t msg;
|
||||
|
@ -781,7 +781,7 @@ SV_StopDownload_f
|
|||
Abort a download if in progress
|
||||
==================
|
||||
*/
|
||||
void SV_StopDownload_f( client_t *cl ) {
|
||||
static void SV_StopDownload_f( client_t *cl ) {
|
||||
if (*cl->downloadName)
|
||||
Com_DPrintf( "clientDownload: %d : file \"%s\" aborted\n", (int) (cl - svs.clients), cl->downloadName );
|
||||
|
||||
|
@ -795,7 +795,7 @@ SV_DoneDownload_f
|
|||
Downloads are finished
|
||||
==================
|
||||
*/
|
||||
void SV_DoneDownload_f( client_t *cl ) {
|
||||
static void SV_DoneDownload_f( client_t *cl ) {
|
||||
Com_DPrintf( "clientDownload: %s Done\n", cl->name);
|
||||
// resend the game state to update any clients that entered during the download
|
||||
SV_SendClientGameState(cl);
|
||||
|
@ -809,7 +809,7 @@ The argument will be the last acknowledged block from the client, it should be
|
|||
the same as cl->downloadClientBlock
|
||||
==================
|
||||
*/
|
||||
void SV_NextDownload_f( client_t *cl )
|
||||
static void SV_NextDownload_f( client_t *cl )
|
||||
{
|
||||
int block = atoi( Cmd_Argv(1) );
|
||||
|
||||
|
@ -838,7 +838,7 @@ void SV_NextDownload_f( client_t *cl )
|
|||
SV_BeginDownload_f
|
||||
==================
|
||||
*/
|
||||
void SV_BeginDownload_f( client_t *cl ) {
|
||||
static void SV_BeginDownload_f( client_t *cl ) {
|
||||
|
||||
// Kill any existing download
|
||||
SV_CloseDownload( cl );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue