X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=strbuf.h;h=f722331470065f448197ea461ef3af06d3623ff2;hb=8cc299daf29c6726acada3ffad87c3fe2098aa02;hp=675a91f93821421aa79de51857b22a4960da8ec1;hpb=597a63054241c122515c93cbce45bc44eb231f18;p=thirdparty%2Fgit.git diff --git a/strbuf.h b/strbuf.h index 675a91f938..f722331470 100644 --- a/strbuf.h +++ b/strbuf.h @@ -120,6 +120,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 */