Fix last "noreturn" warnings
This commit is contained in:
@@ -627,7 +627,7 @@ void AddTournamentQueue(gclient_t *client);
|
||||
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)));
|
||||
|
||||
//
|
||||
// g_client.c
|
||||
@@ -767,7 +767,7 @@ extern vmCvar_t g_singlePlayer;
|
||||
extern vmCvar_t g_proxMineTimeout;
|
||||
|
||||
void trap_Printf( 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 );
|
||||
|
Reference in New Issue
Block a user