Wrap __attribute__s in macros
This commit is contained in:
1 parent
f976711fb4
commit
07b9c1bd83
33 files changed
+88
-114
No files matched your search
+2
-2
@@ -284,7 +284,7 @@ Sys_Exit
|
||||
Single exit point (regular exit or in case of error)
|
||||
=================
|
||||
*/
|
||||
static __attribute__ ((noreturn)) void Sys_Exit( int exitCode )
|
||||
static Q_NO_RETURN void Sys_Exit( int exitCode )
|
||||
{
|
||||
CON_Shutdown( );
|
||||
|
||||
@@ -453,7 +453,7 @@ void Sys_Error( const char *error, ... )
|
||||
Sys_Warn
|
||||
=================
|
||||
*/
|
||||
static __attribute__ ((format (printf, 1, 2))) void Sys_Warn( char *warning, ... )
|
||||
static Q_PRINTF_FUNC(1, 2) void Sys_Warn( char *warning, ... )
|
||||
{
|
||||
va_list argptr;
|
||||
char string[1024];
|
||||
|
||||
Reference in new issue
Block a user