X-Git-Url: http://git.asterisk.org/gitweb/?p=asterisk%2Fasterisk.git;a=blobdiff_plain;f=include%2Fjitterbuf.h;h=6da11a65bd418e7a127a68d85da5008db9667a62;hp=2a6045f0551b311a82a45c5f8865c5662522ea18;hb=15b94d1182ffdcf9a72b154f31b839abc51b06c1;hpb=c76f72493a8b76a798d5d867f6b096fa41b78c25 diff --git a/include/jitterbuf.h b/include/jitterbuf.h index 2a6045f..6da11a6 100644 --- a/include/jitterbuf.h +++ b/include/jitterbuf.h @@ -163,7 +163,7 @@ enum jb_return_code jb_getinfo(jitterbuf *jb, jb_info *stats); /*! \brief set jitterbuf conf */ enum jb_return_code jb_setconf(jitterbuf *jb, jb_conf *conf); -typedef void (*jb_output_function_t)(const char *fmt, ...); +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