mark functions static (#4010)

This commit is contained in:
Ludwig Nussel 2009-05-08 09:48:45 +00:00
parent f0e24f9a46
commit bbd9f02d08
7 changed files with 43 additions and 43 deletions

View file

@ -76,7 +76,7 @@ SV_ExpandNewlines
Converts newlines to "\n" so a line prints nicer
===============
*/
char *SV_ExpandNewlines( char *in ) {
static char *SV_ExpandNewlines( char *in ) {
static char string[1024];
int l;
@ -99,10 +99,10 @@ char *SV_ExpandNewlines( char *in ) {
======================
SV_ReplacePendingServerCommands
This is ugly
FIXME: This is ugly
======================
*/
int SV_ReplacePendingServerCommands( client_t *client, const char *cmd ) {
static int SV_ReplacePendingServerCommands( client_t *client, const char *cmd ) {
int i, index, csnum1, csnum2;
for ( i = client->reliableSent+1; i <= client->reliableSequence; i++ ) {
@ -322,7 +322,7 @@ and all connected players. Used for getting detailed information after
the simple info query.
================
*/
void SVC_Status( netadr_t from ) {
static void SVC_Status( netadr_t from ) {
char player[1024];
char status[MAX_MSGLEN];
int i;
@ -440,7 +440,7 @@ SVC_FlushRedirect
================
*/
void SV_FlushRedirect( char *outputbuf ) {
static void SV_FlushRedirect( char *outputbuf ) {
NET_OutOfBandPrint( NS_SERVER, svs.redirectAddress, "print\n%s", outputbuf );
}
@ -453,7 +453,7 @@ Shift down the remaining args
Redirect all printfs
===============
*/
void SVC_RemoteCommand( netadr_t from, msg_t *msg ) {
static void SVC_RemoteCommand( netadr_t from, msg_t *msg ) {
qboolean valid;
unsigned int time;
char remaining[1024];
@ -523,7 +523,7 @@ Clients that are in the game can still send
connectionless packets.
=================
*/
void SV_ConnectionlessPacket( netadr_t from, msg_t *msg ) {
static void SV_ConnectionlessPacket( netadr_t from, msg_t *msg ) {
char *s;
char *c;
@ -636,7 +636,7 @@ SV_CalcPings
Updates the cl->ping variables
===================
*/
void SV_CalcPings( void ) {
static void SV_CalcPings( void ) {
int i, j;
client_t *cl;
int total, count;
@ -696,7 +696,7 @@ for a few seconds to make sure any final reliable message gets resent
if necessary
==================
*/
void SV_CheckTimeouts( void ) {
static void SV_CheckTimeouts( void ) {
int i;
client_t *cl;
int droppoint;
@ -737,7 +737,7 @@ void SV_CheckTimeouts( void ) {
SV_CheckPaused
==================
*/
qboolean SV_CheckPaused( void ) {
static qboolean SV_CheckPaused( void ) {
int count;
client_t *cl;
int i;