From a48fbf964e78fced3fd153d5af0a6be7031f395b Mon Sep 17 00:00:00 2001 From: Nils Date: Fri, 21 Apr 2023 17:38:43 +0100 Subject: [PATCH] Remove unused macro PHP_FNV1_32A_INIT and PHP_FNV1A_64_INIT --- UPGRADING.INTERNALS | 1 + ext/hash/php_hash_fnv.h | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/UPGRADING.INTERNALS b/UPGRADING.INTERNALS index 1309cb34ac6c6..b4675e22215e9 100644 --- a/UPGRADING.INTERNALS +++ b/UPGRADING.INTERNALS @@ -66,6 +66,7 @@ PHP 8.3 INTERNALS UPGRADE NOTES - zend_parse_ini_string - zend_set_user_opcode_handler - zend_ssa_inference +* Removed unused macros PHP_FNV1_32A_INIT and PHP_FNV1A_64_INIT. See GH-11114. ======================== 2. Build system changes diff --git a/ext/hash/php_hash_fnv.h b/ext/hash/php_hash_fnv.h index b05e70a8ad21e..e9d1ce8d0b442 100644 --- a/ext/hash/php_hash_fnv.h +++ b/ext/hash/php_hash_fnv.h @@ -18,12 +18,10 @@ #define PHP_HASH_FNV_H #define PHP_FNV1_32_INIT ((uint32_t)0x811c9dc5) -#define PHP_FNV1_32A_INIT PHP_FNV1_32_INIT #define PHP_FNV_32_PRIME ((uint32_t)0x01000193) #define PHP_FNV1_64_INIT ((uint64_t)0xcbf29ce484222325ULL) -#define PHP_FNV1A_64_INIT FNV1_64_INIT #define PHP_FNV_64_PRIME ((uint64_t)0x100000001b3ULL)