diff options
author | Junio C Hamano <gitster@pobox.com> | 2024-06-08 20:37:45 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-06-10 18:16:30 +0200 |
commit | f52c9a2a280e872546ed84dcea71723d9a762d9a (patch) | |
tree | 40faf8f6f3e7dd256fb019f93e2af4515307685e /submodule-config.c | |
parent | __attribute__: trace2_region_enter_printf() is like "printf" (diff) | |
download | git-f52c9a2a280e872546ed84dcea71723d9a762d9a.tar.xz git-f52c9a2a280e872546ed84dcea71723d9a762d9a.zip |
__attribute__: remove redundant attribute declaration for git_die_config()
The convention is to declare the function attribute to an extern
function together with its declaration in the header file, without
repeating the attribute declaration with its definition in the .c
source file (a file-scope static function declares its attribute
together with its definition in the .c file it is defined, as there
is no other place to do so).
The definition of git_die_config() in config.c did not follow the
convention and had its attribute declared with both its declaration
in the header and its definition in the .c source file.
Remove the one in the config.c to match everybody else.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'submodule-config.c')
0 files changed, 0 insertions, 0 deletions