X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/119397b175874bd606952e93b7249ae4ffb9afbe..a4c58d92bfee0cf2e35ab1c5e828a6d790108a69:/cgit.h diff --git a/cgit.h b/cgit.h index 232099d..8f84281 100644 --- a/cgit.h +++ b/cgit.h @@ -19,6 +19,7 @@ #include #include #include +#include /* @@ -292,6 +293,7 @@ extern void cgit_diff_tree(const unsigned char *old_sha1, extern void cgit_diff_commit(struct commit *commit, filepair_fn fn); +__attribute__((format (printf,1,2))) extern char *fmt(const char *format,...); extern struct commitinfo *cgit_parse_commit(struct commit *commit);