summaryrefslogtreecommitdiff
path: root/utils/bswap.h
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-07-23 11:19:00 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-07-23 11:19:00 +0000
commitf1775381f91f1250b20f1949dfd0364ddb0ee9fc (patch)
tree1326bd7f4dfd8c57f89c4d6b2f13d4f22f578abf /utils/bswap.h
parentd35b0bc119816825a657f7c9c2a1f062e7048c39 (diff)
- fix inline keyword
Diffstat (limited to 'utils/bswap.h')
-rw-r--r--utils/bswap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/bswap.h b/utils/bswap.h
index 183fce5c2..666b80a73 100644
--- a/utils/bswap.h
+++ b/utils/bswap.h
@@ -44,12 +44,12 @@
# include <byteswap.h>
#else
-static inline uint16_t bswap_16(uint16_t x)
+static __inline__ uint16_t bswap_16(uint16_t x)
{
return ((((x) & 0xff00) >> 8) | \
(((x) & 0x00ff) << 8));
}
-static inline uint32_t bswap_32(uint32_t x)
+static __inline__ uint32_t bswap_32(uint32_t x)
{
return ((((x) & 0xff000000) >> 24) | \
(((x) & 0x00ff0000) >> 8) | \