]> gitweb.ps.run Git - ps-cgit/commitdiff
fix building with clang
authorDenis Pronin <dannftk@yandex.ru>
Sun, 9 Jun 2024 06:41:36 +0000 (09:41 +0300)
committerChristian Hesse <mail@eworm.de>
Tue, 16 Jul 2024 11:26:10 +0000 (13:26 +0200)
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>

No differences found