diff options
author | Elia Pinto <gitter.spiros@gmail.com> | 2016-02-11 12:38:47 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-02-11 13:24:09 -0800 |
commit | aca5edd99efc461829f761db3c5b857aaea3fc55 (patch) | |
tree | 31ada00ad4efa29237cb001b25d8a49e9c295325 | |
parent | 68e3fd54428970f208a7345364552a80e2354460 (diff) | |
download | git-aca5edd99efc461829f761db3c5b857aaea3fc55.tar.gz |
config.c: use the FORMAT_PRINTF macro to declare the gcc function attribute 'format printf'
Use the new FORMAT_PRINTF macro (in git-compat-util.h) to declare the gcc function
attribute 'format printf'
Signed-off-by: Elia Pinto <gitter.spiros@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r-- | config.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1628,7 +1628,7 @@ void git_die_config_linenr(const char *key, const char *filename, int linenr) key, filename, linenr); } -NORETURN __attribute__((format(printf, 2, 3))) +NORETURN FORMAT_PRINTF(2, 3) void git_die_config(const char *key, const char *err, ...) { const struct string_list *values; |