]> git.ipfire.org Git - thirdparty/git.git/commit
__attribute__: mark some functions with LAST_ARG_MUST_BE_NULL
authorJunio C Hamano <gitster@pobox.com>
Sat, 8 Jun 2024 18:37:46 +0000 (11:37 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 10 Jun 2024 16:16:30 +0000 (09:16 -0700)
commitba744647eae1eeee3a1c2c3d3a2b331fc1075b54
tree508372253ecab0dbde508d19001d75808e33ec75
parentf52c9a2a280e872546ed84dcea71723d9a762d9a
__attribute__: mark some functions with LAST_ARG_MUST_BE_NULL

Some varargs functions that use NULL-terminated parameter list were
missing __attributes__ ((sentinel)) aka LAST_ARG_MUST_BE_NULL.

Add them.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
add-patch.c
attr.h
hook.h
scalar.c