mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-16 05:49:51 +02:00
WEBP_TSAN_IGNORE_FUNCTION: fix gcc compat warning
move the attribute to the front of the function to quiet clang warning: GCC does not allow no_sanitize_thread attribute in this position on a function definition Change-Id: Ie4cc6e35a07bd00eab67d9cd6801bd2be9cfe676
This commit is contained in:
@ -1263,9 +1263,9 @@ static void TransformAC3(const int16_t* in, uint8_t* dst) {
|
||||
//------------------------------------------------------------------------------
|
||||
// Entry point
|
||||
|
||||
extern void VP8DspInitNEON(void) WEBP_TSAN_IGNORE_FUNCTION;
|
||||
extern WEBP_TSAN_IGNORE_FUNCTION void VP8DspInitNEON(void);
|
||||
|
||||
void VP8DspInitNEON(void) WEBP_TSAN_IGNORE_FUNCTION {
|
||||
WEBP_TSAN_IGNORE_FUNCTION void VP8DspInitNEON(void) {
|
||||
#if defined(WEBP_USE_NEON)
|
||||
VP8Transform = TransformTwo;
|
||||
VP8TransformAC3 = TransformAC3;
|
||||
|
Reference in New Issue
Block a user