X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=strbuf.h;h=07060ce893d8303b7eb4d78db0f7a5575527f88f;hb=c51477229ee4c7846d40a447860b5bf94aa1103d;hp=4ce7dedee07efced23c1214de71e0687d7cb297a;hpb=ac53196d9a1f63785de199dee4b851378510f729;p=git.git diff --git a/strbuf.h b/strbuf.h index 4ce7dedee..07060ce89 100644 --- a/strbuf.h +++ b/strbuf.h @@ -85,6 +85,8 @@ extern void strbuf_addbuf_percentquote(struct strbuf *dst, const struct strbuf * __attribute__((format (printf,2,3))) extern void strbuf_addf(struct strbuf *sb, const char *fmt, ...); +__attribute__((format (printf,2,0))) +extern void strbuf_vaddf(struct strbuf *sb, const char *fmt, va_list ap); extern size_t strbuf_fread(struct strbuf *, size_t, FILE *); /* XXX: if read fails, any partial read is undone */