diff options
Diffstat (limited to 'lib/log/log.h')
-rw-r--r-- | lib/log/log.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/log/log.h b/lib/log/log.h index 2a5d375..6f44bea 100644 --- a/lib/log/log.h +++ b/lib/log/log.h @@ -3,7 +3,7 @@ #include <stdio.h> -void pb_log(const char *fmt, ...); +void __attribute__ ((format (printf, 1, 2))) pb_log(const char *fmt, ...); void pb_log_set_stream(FILE *stream); FILE * pb_log_get_stream(void); void pb_log_always_flush(int state); |