mirror of
https://github.com/libretro/libretro-tyrquake.git
synced 2025-04-01 10:11:49 +00:00
trivial: static variables, unused definitions/declarations
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
This commit is contained in:
parent
b80bdb0fed
commit
c9e6f37822
@ -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;
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -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);
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
|
||||
/*
|
||||
===============================================================================
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user