Junio C Hamano writes:
> OK, this may answer my previous question.
>
> It might be pleasing to the eyes when these two macros appearing
> together in all CAPS, making them look similar and consistent,
> perhaps with two more tweaks:
>
> - Imitate LAST_ARG_MUST_BE_NULL and spell it FORMAT_PRINTF;
Elia Pinto writes:
> Use the new FORMATPRINTF macro (in git-compat-util.h) to declare the gcc
> function
> attribute 'format printf'
>
> Signed-off-by: Elia Pinto
> ---
> argv-array.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/argv-array.h b/argv-array.h
> index a
Use the new FORMATPRINTF macro (in git-compat-util.h) to declare the gcc
function
attribute 'format printf'
Signed-off-by: Elia Pinto
---
argv-array.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/argv-array.h b/argv-array.h
index a2fa0aa..e303dfd 100644
--- a/argv-array.h
3 matches
Mail list logo