scudo: fix __attribute__((format))
authorDmitry Vyukov <dvyukov@google.com>
Thu, 12 Aug 2021 17:59:12 +0000 (19:59 +0200)
committerDmitry Vyukov <dvyukov@google.com>
Fri, 13 Aug 2021 11:44:12 +0000 (13:44 +0200)
commit036f963083f0416a15ada2120dec8abd9177a8af
tree61df37d5a638ebb82b9b44c0efaaab272b45b880
parent9c8f888f5fcafe8a9b69e7d652dc7328612f8ec6
scudo: fix __attribute__((format))

The attribute should be in the header on declaration.
It's almost pointless in the source file.

Depends on D107977.

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D107978
compiler-rt/lib/scudo/scudo_utils.cpp
compiler-rt/lib/scudo/scudo_utils.h