]> git.ipfire.org Git - thirdparty/git.git/blobdiff - quote.h
*.h: add a few missing __attribute__((format))
[thirdparty/git.git] / quote.h
diff --git a/quote.h b/quote.h
index 768cc6338e27d73c8a10cf5eae76ad5626c73e3e..049d8dd0b3d7e42547ef42b460dcaaf95a412a68 100644 (file)
--- a/quote.h
+++ b/quote.h
@@ -31,6 +31,7 @@ struct strbuf;
 
 void sq_quote_buf(struct strbuf *, const char *src);
 void sq_quote_argv(struct strbuf *, const char **argv);
+__attribute__((format (printf, 2, 3)))
 void sq_quotef(struct strbuf *, const char *fmt, ...);
 
 /*