diff --git a/src/common/header/common.h b/src/common/header/common.h index 375f81f5..ca65f0c8 100644 --- a/src/common/header/common.h +++ b/src/common/header/common.h @@ -730,6 +730,7 @@ void SCR_DebugGraph (float value, int color); /* NON-PORTABLE SYSTEM SERVICES */ +void Sys_Init (void); void Sys_UnloadGame (void); void *Sys_GetGameAPI (void *parms); diff --git a/src/common/misc.c b/src/common/misc.c index 8fc7caf4..c0681ba2 100644 --- a/src/common/misc.c +++ b/src/common/misc.c @@ -236,6 +236,7 @@ void Qcommon_Init (int argc, char **argv) if (dedicated->value) Cmd_AddCommand ("quit", Com_Quit); + Sys_Init(); NET_Init(); Netchan_Init (); SV_Init (); diff --git a/src/unix/system.c b/src/unix/system.c index 880c8d70..3910e7a1 100644 --- a/src/unix/system.c +++ b/src/unix/system.c @@ -94,6 +94,11 @@ CompareAttributes ( char *path, char *name, unsigned musthave, unsigned canthave return ( true ); } +void +Sys_Init ( void ) +{ +} + int Sys_Milliseconds ( void ) {