summaryrefslogtreecommitdiff
path: root/thunk.h
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-04-10 00:02:33 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-04-10 00:02:33 +0000
commitbb0ebb1f2dc4b7f48027f622db2b58d27dcd5055 (patch)
tree01efdc9e4cc258ecb06fb443cf4cd4fd89d314ce /thunk.h
parent27c75a9a906e4ae2b362a35501a88a3e70fe773e (diff)
downloadqemu-bb0ebb1f2dc4b7f48027f622db2b58d27dcd5055.tar.gz
qemu-bb0ebb1f2dc4b7f48027f622db2b58d27dcd5055.tar.bz2
qemu-bb0ebb1f2dc4b7f48027f622db2b58d27dcd5055.zip
ISO C fixes
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@86 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'thunk.h')
-rw-r--r--thunk.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/thunk.h b/thunk.h
index 017cfe3572..2fa3f63acc 100644
--- a/thunk.h
+++ b/thunk.h
@@ -94,17 +94,17 @@ static inline uint64_t bswap64(uint64_t x)
return bswap_64(x);
}
-static void inline bswap16s(uint16_t *s)
+static inline void bswap16s(uint16_t *s)
{
*s = bswap16(*s);
}
-static void inline bswap32s(uint32_t *s)
+static inline void bswap32s(uint32_t *s)
{
*s = bswap32(*s);
}
-static void inline bswap64s(uint64_t *s)
+static inline void bswap64s(uint64_t *s)
{
*s = bswap64(*s);
}
@@ -126,17 +126,17 @@ static inline uint64_t tswap64(uint64_t s)
return bswap64(s);
}
-static void inline tswap16s(uint16_t *s)
+static inline void tswap16s(uint16_t *s)
{
*s = bswap16(*s);
}
-static void inline tswap32s(uint32_t *s)
+static inline void tswap32s(uint32_t *s)
{
*s = bswap32(*s);
}
-static void inline tswap64s(uint64_t *s)
+static inline void tswap64s(uint64_t *s)
{
*s = bswap64(*s);
}
@@ -158,15 +158,15 @@ static inline uint64_t tswap64(uint64_t s)
return s;
}
-static void inline tswap16s(uint16_t *s)
+static inline void tswap16s(uint16_t *s)
{
}
-static void inline tswap32s(uint32_t *s)
+static inline void tswap32s(uint32_t *s)
{
}
-static void inline tswap64s(uint64_t *s)
+static inline void tswap64s(uint64_t *s)
{
}