diff options
Diffstat (limited to 'include/jitterbuf.h')
-rw-r--r-- | include/jitterbuf.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/jitterbuf.h b/include/jitterbuf.h index dac903e83..45ec06f2d 100644 --- a/include/jitterbuf.h +++ b/include/jitterbuf.h @@ -151,8 +151,8 @@ enum jb_return_code jb_getinfo(jitterbuf *jb, jb_info *stats); /* set jitterbuf conf */ enum jb_return_code jb_setconf(jitterbuf *jb, jb_conf *conf); -typedef void (*jb_output_function_t)(const char *fmt, ...); -void jb_setoutput(jb_output_function_t err, jb_output_function_t warn, jb_output_function_t dbg); +typedef void __attribute__((format(printf, 1, 2))) (*jb_output_function_t)(const char *fmt, ...); +void jb_setoutput(jb_output_function_t err, jb_output_function_t warn, jb_output_function_t dbg); #ifdef __cplusplus } |