Add printf format checking to sbuf_printf()
Submitted by: Harti Brandt <brandt@fokus.gmd.de
This commit is contained in:
parent
97e1bac189
commit
344d118fd4
@ -58,7 +58,7 @@ int sbuf_bcat(struct sbuf *s, const char *str, size_t len);
|
||||
int sbuf_bcpy(struct sbuf *s, const char *str, size_t len);
|
||||
int sbuf_cat(struct sbuf *s, const char *str);
|
||||
int sbuf_cpy(struct sbuf *s, const char *str);
|
||||
int sbuf_printf(struct sbuf *s, const char *fmt, ...);
|
||||
int sbuf_printf(struct sbuf *s, const char *fmt, ...) __printflike(2, 3);
|
||||
int sbuf_putc(struct sbuf *s, int c);
|
||||
int sbuf_overflowed(struct sbuf *s);
|
||||
void sbuf_finish(struct sbuf *s);
|
||||
|
Loading…
Reference in New Issue
Block a user