diff options
author | Nikita Popov <nikic@php.net> | 2017-01-03 12:16:35 +0100 |
---|---|---|
committer | Nikita Popov <nikic@php.net> | 2017-01-03 12:16:35 +0100 |
commit | b3889d4b20aaec16ceb89fe64e42de7c464e20e1 (patch) | |
tree | 7b9f4e02415297fb91b185e8721bb155f99a7212 /ext/standard/pack.c | |
parent | cfd6e1484283f9d693e457320e6a0d82422b9b33 (diff) | |
download | php-git-b3889d4b20aaec16ceb89fe64e42de7c464e20e1.tar.gz |
Fix build
Diffstat (limited to 'ext/standard/pack.c')
-rw-r--r-- | ext/standard/pack.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/pack.c b/ext/standard/pack.c index 1184717993..34d3139863 100644 --- a/ext/standard/pack.c +++ b/ext/standard/pack.c @@ -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; |