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
+1
-1
@@ -92,7 +92,7 @@ const char *TeamColorString(int team) {
|
||||
}
|
||||
|
||||
// NULL for everyone
|
||||
static __attribute__ ((format (printf, 2, 3))) void QDECL PrintMsg( gentity_t *ent, const char *fmt, ... ) {
|
||||
static Q_PRINTF_FUNC(2, 3) void QDECL PrintMsg( gentity_t *ent, const char *fmt, ... ) {
|
||||
char msg[1024];
|
||||
va_list argptr;
|
||||
char *p;
|
||||
|
||||
Reference in new issue
Block a user