Add gcc attribute format where it's missing
This commit is contained in:
parent
eb252201b6
commit
1d9aac2cf9
4 changed files with 8 additions and 2 deletions
|
@ -43,7 +43,8 @@ struct xdstr {
|
|||
natid cnum; /* dump for this country */
|
||||
int divine; /* is this a deity dump? */
|
||||
int human; /* dump human-readable format */
|
||||
void (*pr)(char *fmt, ...); /* callback for printing dump */
|
||||
void (*pr)(char *fmt, ...) /* callback for printing dump */
|
||||
ATTRIBUTE((format (printf, 1, 2)));
|
||||
};
|
||||
|
||||
struct xdstr *xdinit(struct xdstr *, natid, int, void (*)(char *, ...));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue