File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -228,7 +228,7 @@ typedef zend_mm_bitset zend_mm_page_map[ZEND_MM_PAGE_MAP_LEN]; /* 64B */
228
228
# if __has_builtin (__builtin_bswap64 )
229
229
# define BSWAPPTR (u ) __builtin_bswap64(u)
230
230
# else
231
- zend_always_inline uintptr_t BSWAPPTR (uintptr_t u )
231
+ static zend_always_inline uintptr_t BSWAPPTR (uintptr_t u )
232
232
{
233
233
return (((u & 0xff00000000000000ULL ) >> 56 )
234
234
| ((u & 0x00ff000000000000ULL ) >> 40 )
@@ -244,7 +244,7 @@ zend_always_inline uintptr_t BSWAPPTR(uintptr_t u)
244
244
# if __has_builtin (__builtin_bswap32 )
245
245
# define BSWAPPTR (u ) __builtin_bswap32(u)
246
246
# else
247
- zend_always_inline uintptr_t BSWAPPTR (uintptr_t u )
247
+ static zend_always_inline uintptr_t BSWAPPTR (uintptr_t u )
248
248
{
249
249
return (((u & 0xff000000 ) >> 24 )
250
250
| ((u & 0x00ff0000 ) >> 8 )
@@ -1340,7 +1340,7 @@ static zend_always_inline zend_mm_free_slot* zend_mm_encode_free_slot(const zend
1340
1340
static zend_always_inline zend_mm_free_slot * zend_mm_decode_free_slot (zend_mm_heap * heap , zend_mm_free_slot * slot )
1341
1341
{
1342
1342
#ifdef WORDS_BIGENDIAN
1343
- return (zend_mm_free_slot * )((uintptr_t )slot ^ heap -> shadow_key )) ;
1343
+ return (zend_mm_free_slot * )((uintptr_t )slot ^ heap -> shadow_key );
1344
1344
#else
1345
1345
return (zend_mm_free_slot * )(BSWAPPTR ((uintptr_t )slot ^ heap -> shadow_key ));
1346
1346
#endif
You can’t perform that action at this time.
0 commit comments