diff options
Diffstat (limited to 'src/game/g_local.h')
-rw-r--r-- | src/game/g_local.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/g_local.h b/src/game/g_local.h index 2516e514..8e7aab8a 100644 --- a/src/game/g_local.h +++ b/src/game/g_local.h @@ -1001,7 +1001,7 @@ void G_AdminMessage( gentity_t *ent, const char *string ); void QDECL G_LogPrintf( const char *fmt, ... ) __attribute__ ((format (printf, 1, 2))); void SendScoreboardMessageToAllClients( void ); void QDECL G_Printf( const char *fmt, ... ) __attribute__ ((format (printf, 1, 2))); -void QDECL G_Error( const char *fmt, ... ) __attribute__ ((format (printf, 1, 2))); +void QDECL G_Error( const char *fmt, ... ) __attribute__ ((noreturn, format (printf, 1, 2))); void G_Vote( gentity_t *ent, team_t team, qboolean voting ); void G_ExecuteVote( team_t team ); void G_CheckVote( team_t team ); @@ -1180,7 +1180,7 @@ extern vmCvar_t g_allowTeamOverlay; extern vmCvar_t g_censorship; void trap_Print( const char *fmt ); -void trap_Error( const char *fmt ); +void trap_Error( const char *fmt ) __attribute__((noreturn)); int trap_Milliseconds( void ); int trap_RealTime( qtime_t *qtime ); int trap_Argc( void ); |