Skip to content

Commit a48fbf9

Browse files
committed
Remove unused macro PHP_FNV1_32A_INIT and PHP_FNV1A_64_INIT
1 parent 4ce00aa commit a48fbf9

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

UPGRADING.INTERNALS

+1
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ PHP 8.3 INTERNALS UPGRADE NOTES
6666
- zend_parse_ini_string
6767
- zend_set_user_opcode_handler
6868
- zend_ssa_inference
69+
* Removed unused macros PHP_FNV1_32A_INIT and PHP_FNV1A_64_INIT. See GH-11114.
6970

7071
========================
7172
2. Build system changes

ext/hash/php_hash_fnv.h

-2
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,10 @@
1818
#define PHP_HASH_FNV_H
1919

2020
#define PHP_FNV1_32_INIT ((uint32_t)0x811c9dc5)
21-
#define PHP_FNV1_32A_INIT PHP_FNV1_32_INIT
2221

2322
#define PHP_FNV_32_PRIME ((uint32_t)0x01000193)
2423

2524
#define PHP_FNV1_64_INIT ((uint64_t)0xcbf29ce484222325ULL)
26-
#define PHP_FNV1A_64_INIT FNV1_64_INIT
2725

2826
#define PHP_FNV_64_PRIME ((uint64_t)0x100000001b3ULL)
2927

0 commit comments

Comments
 (0)