more format attributes

This commit is contained in:
Bill Currie 2001-07-03 20:56:01 +00:00
parent 1edf1e0b39
commit 05db0ed9d0
2 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ extern char **myargv;
int FileLength (FILE *f);
void Error (char *error, ...);
void Error (char *error, ...)__attribute__((format(printf, 1,2)));
int CheckParm (char *check);
FILE *SafeOpenWrite (char *filename);

View File

@ -436,7 +436,7 @@ def_t *PR_ReuseConstant (expr_t *expr, def_t *def);
qboolean PR_Check (token_type_t type, const char *string);
void PR_Expect (token_type_t type, const char *string);
void PR_ParseError (const char *error, ...);
void PR_ParseError (const char *error, ...)__attribute__((format(printf, 1,2)));
extern jmp_buf pr_parse_abort; // longjump with this on parse error