diff options
| author | hanshenrik <[email protected]> | 2024-02-03 09:52:45 +0100 |
|---|---|---|
| committer | Jack O'Connor <[email protected]> | 2025-06-23 11:28:16 -0700 |
| commit | 34d293eb2aa75005406d8a7d78687896f714e89a (patch) | |
| tree | 1039c325a0b1c560dffae5559821de010eca2d6a /c | |
| parent | feb303f38d9c814cfb78cddf7c88864262cddddb (diff) | |
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
Diffstat (limited to 'c')
| -rw-r--r-- | c/blake3_dispatch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c/blake3_dispatch.c b/c/blake3_dispatch.c index 52db905..eae7a01 100644 --- a/c/blake3_dispatch.c +++ b/c/blake3_dispatch.c @@ -89,7 +89,6 @@ static void cpuidex(uint32_t out[4], uint32_t id, uint32_t sid) { #endif } -#endif enum cpu_feature { SSE2 = 1 << 0, @@ -164,6 +163,7 @@ static #endif } } +#endif void blake3_compress_in_place(uint32_t cv[8], const uint8_t block[BLAKE3_BLOCK_LEN], |
