trivial: static variables, unused definitions/declarations

Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
This commit is contained in:
Kevin Shanahan 2012-10-14 17:26:27 +10:30
parent b80bdb0fed
commit c9e6f37822
6 changed files with 6 additions and 12 deletions

View File

@ -61,7 +61,7 @@ qboolean host_initialized; // true if into command execution
double host_frametime;
double host_time;
double realtime; // without any filtering or bounding
double oldrealtime; // last frame run
static double oldrealtime; // last frame run
int host_framecount;
int host_hunklevel;

View File

@ -130,7 +130,7 @@ qboolean host_initialized; // true if into command execution
double host_frametime;
double realtime; // without any filtering or bounding
double oldrealtime; // last frame run
static double oldrealtime; // last frame run
int host_framecount;
int host_hunklevel;
@ -1312,7 +1312,6 @@ Host_Frame
Runs all active servers
==================
*/
int nopacketcount;
void
Host_Frame(float time)
{

View File

@ -49,8 +49,6 @@ HANDLE qwclsemaphore;
static HANDLE tevent;
void Sys_InitFloatTime(void);
void MaskExceptions(void);
void Sys_PopFPCW(void);
void Sys_PushFPCW_SetHigh(void);

View File

@ -59,7 +59,6 @@ typedef struct {
//
extern quakeparms_t host_parms;
extern cvar_t sys_nostdout;
extern cvar_t developer;
extern qboolean host_initialized; // true if into command execution

View File

@ -33,10 +33,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
// FIXME - header hacks
extern int net_socket;
cvar_t sys_nostdout = { "sys_nostdout", "0" };
cvar_t sys_extrasleep = { "sys_extrasleep", "0" };
static cvar_t sys_nostdout = { "sys_nostdout", "0" };
static cvar_t sys_extrasleep = { "sys_extrasleep", "0" };
qboolean stdin_ready;
static qboolean stdin_ready;
/*
===============================================================================

View File

@ -28,7 +28,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "server.h"
#include "sys.h"
cvar_t sys_nostdout = { "sys_nostdout", "0" };
static cvar_t sys_nostdout = { "sys_nostdout", "0" };
/*
================
@ -203,8 +203,6 @@ main
==================
*/
char *newargv[256];
int
main(int argc, char **argv)
{