mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
more format attributes
This commit is contained in:
parent
1edf1e0b39
commit
05db0ed9d0
2 changed files with 2 additions and 2 deletions
|
@ -49,7 +49,7 @@ extern char **myargv;
|
||||||
|
|
||||||
int FileLength (FILE *f);
|
int FileLength (FILE *f);
|
||||||
|
|
||||||
void Error (char *error, ...);
|
void Error (char *error, ...)__attribute__((format(printf, 1,2)));
|
||||||
int CheckParm (char *check);
|
int CheckParm (char *check);
|
||||||
|
|
||||||
FILE *SafeOpenWrite (char *filename);
|
FILE *SafeOpenWrite (char *filename);
|
||||||
|
|
|
@ -436,7 +436,7 @@ def_t *PR_ReuseConstant (expr_t *expr, def_t *def);
|
||||||
|
|
||||||
qboolean PR_Check (token_type_t type, const char *string);
|
qboolean PR_Check (token_type_t type, const char *string);
|
||||||
void PR_Expect (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
|
extern jmp_buf pr_parse_abort; // longjump with this on parse error
|
||||||
|
|
Loading…
Reference in a new issue