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
|
@ -64,6 +64,9 @@
|
|||
static char journal_fname[] = "journal.log";
|
||||
static FILE *journal;
|
||||
|
||||
static void journal_entry(char *fmt, ...)
|
||||
ATTRIBUTE((format (printf, 1, 2)));
|
||||
|
||||
static FILE *
|
||||
journal_open(void)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue