summaryrefslogtreecommitdiff
path: root/src/game/g_syscalls.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_syscalls.c')
-rw-r--r--src/game/g_syscalls.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/g_syscalls.c b/src/game/g_syscalls.c
index ea13ac2e..37236b95 100644
--- a/src/game/g_syscalls.c
+++ b/src/game/g_syscalls.c
@@ -49,6 +49,8 @@ void trap_Print( const char *fmt )
void trap_Error( const char *fmt )
{
syscall( G_ERROR, fmt );
+ // shut up GCC warning about returning functions, because we know better
+ exit(1);
}
int trap_Milliseconds( void )