mark functions static (#4010)
This commit is contained in:
1 parent
f0e24f9a46
commit
bbd9f02d08
7 files changed
+43
-43
No files matched your search
@@ -216,7 +216,7 @@ to the clients -- only the fields that differ from the
|
||||
baseline will be transmitted
|
||||
================
|
||||
*/
|
||||
void SV_CreateBaseline( void ) {
|
||||
static void SV_CreateBaseline( void ) {
|
||||
sharedEntity_t *svent;
|
||||
int entnum;
|
||||
|
||||
@@ -241,7 +241,7 @@ SV_BoundMaxClients
|
||||
|
||||
===============
|
||||
*/
|
||||
void SV_BoundMaxClients( int minimum ) {
|
||||
static void SV_BoundMaxClients( int minimum ) {
|
||||
// get the current maxclients value
|
||||
Cvar_Get( "sv_maxclients", "8", 0 );
|
||||
|
||||
@@ -265,7 +265,7 @@ NOT cause this to be called, unless the game is exited to
|
||||
the menu system first.
|
||||
===============
|
||||
*/
|
||||
void SV_Startup( void ) {
|
||||
static void SV_Startup( void ) {
|
||||
if ( svs.initialized ) {
|
||||
Com_Error( ERR_FATAL, "SV_Startup: svs.initialized" );
|
||||
}
|
||||
@@ -363,7 +363,7 @@ void SV_ChangeMaxClients( void ) {
|
||||
SV_ClearServer
|
||||
================
|
||||
*/
|
||||
void SV_ClearServer(void) {
|
||||
static void SV_ClearServer(void) {
|
||||
int i;
|
||||
|
||||
for ( i = 0 ; i < MAX_CONFIGSTRINGS ; i++ ) {
|
||||
@@ -381,7 +381,7 @@ SV_TouchCGame
|
||||
touch the cgame.vm so that a pure client can load it if it's in a seperate pk3
|
||||
================
|
||||
*/
|
||||
void SV_TouchCGame(void) {
|
||||
static void SV_TouchCGame(void) {
|
||||
fileHandle_t f;
|
||||
char filename[MAX_QPATH];
|
||||
|
||||
@@ -627,8 +627,6 @@ SV_Init
|
||||
Only called at main exe startup, not for each game
|
||||
===============
|
||||
*/
|
||||
void SV_BotInitBotLib(void);
|
||||
|
||||
void SV_Init (void) {
|
||||
SV_AddOperatorCommands ();
|
||||
|
||||
|
||||
Reference in new issue
Block a user