Fix build

This commit is contained in:
Nikita Popov 2017-01-03 12:16:35 +01:00
parent cfd6e14842
commit b3889d4b20

View File

@ -106,7 +106,7 @@ static void php_pack(zval *val, size_t size, int *map, char *output)
/* {{{ php_pack_reverse_int32
*/
inline uint32_t php_pack_reverse_int32(uint32_t arg)
static inline uint32_t php_pack_reverse_int32(uint32_t arg)
{
uint32_t result;
result = ((arg & 0xFF) << 24) | ((arg & 0xFF00) << 8) | ((arg >> 8) & 0xFF00) | ((arg >> 24) & 0xFF);
@ -117,7 +117,7 @@ inline uint32_t php_pack_reverse_int32(uint32_t arg)
/* {{{ php_pack
*/
inline uint64_t php_pack_reverse_int64(uint64_t arg)
static inline uint64_t php_pack_reverse_int64(uint64_t arg)
{
union Swap64 {
uint64_t i;