From: Elia Pinto Date: Thu, 11 Feb 2016 12:38:52 GMT Subject: [PATCH 15/22] merge-recursive.c: use the FORMATPRINTF macro to declare the gcc function attribute 'format printf' Message-ID: <1455194339-859-16-git-send-email-gitter.spiros@gmail.com> In-Reply-To: <1455194339-859-1-git-send-email-gitter.spiros@gmail.com> Use the new FORMATPRINTF macro (in git-compat-util.h) to declare the gcc function attribute 'format printf' Signed-off-by: Elia Pinto --- merge-recursive.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/merge-recursive.c b/merge-recursive.c index 8eabde2..891d909 100644 --- a/merge-recursive.c +++ b/merge-recursive.c @@ -156,7 +156,7 @@ static void flush_output(struct merge_options *o) } } -__attribute__((format (printf, 3, 4))) +FORMATPRINTF(3,4) static void output(struct merge_options *o, int v, const char *fmt, ...) { va_list ap; -- 2.5.0