diff options
author | Denis Pronin <dannftk@yandex.ru> | 2024-06-09 08:41:36 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2024-07-16 13:26:10 +0200 |
commit | fb87de795b9f1b1e21825243716ff1156097adf2 (patch) | |
tree | 671f842691bfe82d1238d3701c28ae02ab22d681 /contrib/hooks | |
parent | 34c30d12fc917d9853135f6e9d4c8e531efddaeb (diff) | |
download | cgit-fb87de795b9f1b1e21825243716ff1156097adf2.tar.gz cgit-fb87de795b9f1b1e21825243716ff1156097adf2.tar.xz |
fix building with clang
fix error that is given because of macro overlapping cgit_filter member:
../filter.c:388:10: error: no member named '__fprintf_chk' in
'struct cgit_filter'
388 | filter->fprintf(filter, f, prefix);
| ~~~~~~ ^
/usr/include/bits/stdio2.h:92:3: note: expanded from macro 'fprintf'
92 | __fprintf_chk (stream, __USE_FORTIFY_LEVEL - 1, __VA_ARGS__)
| ^
1 error generated.
Signed-off-by: Denis Pronin <dannftk@yandex.ru>
Signed-off-by: Christian Hesse <mail@eworm.de>
Diffstat (limited to 'contrib/hooks')
0 files changed, 0 insertions, 0 deletions