Add the FORMATPRINTF macro for declaring the gcc function attribute 'format printf' for code style consistency with similar macro that git already use for other gcc attributes. And use it where necessary. Elia Pinto (22): git-compat-util.h: add the FORMATPRINTF macro advice.h: use the FORMATPRINTF macro to declare the gcc function attribute 'format printf' argv-array.h: use the FORMATPRINTF macro to declare the gcc function attribute 'format printf' builtin/index-pack.c: use the FORMATPRINTF macro to declare the gcc function attribute 'format printf' builtin/receive-pack.c: use the FORMATPRINTF macro to declare the gcc function attribute 'format printf' builtin/update-index.c: use the FORMATPRINTF macro to declare the gcc function attribute 'format printf' builtin/upload-archive.c: use the FORMATPRINTF macro to declare the gcc function attribute 'format printf' cache.h: use the FORMATPRINTF macro to declare the gcc function attribute 'format printf' color.h: use the FORMATPRINTF macro to declare the gcc function attribute 'format printf' config.c: use the FORMATPRINTF macro to declare the gcc function attribute 'format printf' daemon.c: use the FORMATPRINTF macro to declare the gcc function attribute 'format printf' fsck.c: use the FORMATPRINTF macro to declare the gcc function attribute 'format printf' http-backend.c: use the FORMATPRINTF macro to declare the gcc function attribute 'format printf' imap-send.c: use the FORMATPRINTF macro to declare the gcc function attribute 'format printf' merge-recursive.c: use the FORMATPRINTF macro to declare the gcc function attribute 'format printf' pkt-line.h: use the FORMATPRINTF macro to declare the gcc function attribute 'format printf' remote.c: use the FORMATPRINTF macro to declare the gcc function attribute 'format printf' strbuf.h: use the FORMATPRINTF macro to declare the gcc function attribute 'format printf' trace.h: use the FORMATPRINTF macro to declare the gcc function attribute 'format printf' transport-helper.c: use the FORMATPRINTF macro to declare the gcc function attribute 'format printf' utf8.h: use the FORMATPRINTF macro to declare the gcc function attribute 'format printf' wt-status.h: use the FORMATPRINTF macro to declare the gcc function attribute 'format printf' advice.h | 3 +-- argv-array.h | 2 +- builtin/index-pack.c | 2 +- builtin/receive-pack.c | 4 ++-- builtin/update-index.c | 2 +- builtin/upload-archive.c | 2 +- cache.h | 22 +++++++++++----------- color.h | 4 ++-- config.c | 2 +- daemon.c | 4 ++-- fsck.c | 2 +- git-compat-util.h | 14 ++++++++------ http-backend.c | 6 +++--- imap-send.c | 10 +++++----- merge-recursive.c | 2 +- pkt-line.h | 4 ++-- remote.c | 2 +- strbuf.h | 14 +++++++------- trace.h | 16 ++++++++-------- transport-helper.c | 2 +- utf8.h | 2 +- wt-status.h | 4 ++-- 22 files changed, 63 insertions(+), 62 deletions(-) -- 2.5.0 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html