mirror of
https://github.com/BLAKE3-team/BLAKE3
synced 2024-05-11 13:46:14 +02:00
silence -Wunused-function on MacOS-arm64
the #endif was in the wrong place, causing the error /Users/runner/work/php-src/php-src/ext/hash/blake3/upstream_blake3/c/blake3_dispatch.c:112:5: error: unused function 'get_cpu_features' [-Werror,-Wunused-function] full compiler log https://github.com/php/php-src/actions/runs/7762643678/job/21173438425?pr=13194
This commit is contained in:
parent
a65fcf63ee
commit
1246d597d4
|
@ -86,7 +86,6 @@ static void cpuidex(uint32_t out[4], uint32_t id, uint32_t sid) {
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
enum cpu_feature {
|
enum cpu_feature {
|
||||||
SSE2 = 1 << 0,
|
SSE2 = 1 << 0,
|
||||||
|
@ -161,6 +160,7 @@ static
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
void blake3_compress_in_place(uint32_t cv[8],
|
void blake3_compress_in_place(uint32_t cv[8],
|
||||||
const uint8_t block[BLAKE3_BLOCK_LEN],
|
const uint8_t block[BLAKE3_BLOCK_LEN],
|
||||||
|
|
Loading…
Reference in New Issue