htsbuf: ensure that printf arguments are validated
This commit is contained in:
parent
aad7b63138
commit
c5eb4cd75a
1 changed files with 2 additions and 1 deletions
|
@ -51,7 +51,8 @@ void htsbuf_queue_flush(htsbuf_queue_t *hq);
|
|||
|
||||
void htsbuf_vqprintf(htsbuf_queue_t *hq, const char *fmt, va_list ap);
|
||||
|
||||
void htsbuf_qprintf(htsbuf_queue_t *hq, const char *fmt, ...);
|
||||
void htsbuf_qprintf(htsbuf_queue_t *hq, const char *fmt, ...)
|
||||
__attribute__((format(printf,2,3)));
|
||||
|
||||
void htsbuf_append(htsbuf_queue_t *hq, const void *buf, size_t len);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue