Add printf format checking to sbuf_printf()

Submitted by:	Harti Brandt <brandt@fokus.gmd.de
This commit is contained in:
Poul-Henning Kamp 2001-07-18 15:58:06 +00:00
parent 97e1bac189
commit 344d118fd4

View File

@ -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);