summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/avr32/bits/byteswap.h
diff options
context:
space:
mode:
authorHaavard Skinnemoen <haavard.skinnemoen@atmel.com>2008-07-23 08:05:45 +0000
committerHaavard Skinnemoen <haavard.skinnemoen@atmel.com>2008-07-23 08:05:45 +0000
commit40ee4cb9496ed037957db9790e5bd87604d45fe5 (patch)
treecfe2869edccba2c8a51cd583e24e1c77bca9a5b0 /libc/sysdeps/linux/avr32/bits/byteswap.h
parent21c9dcf8b345401bdf290f34a144db80753b1b9f (diff)
avr32: Put underscores around asm, inline, etc.
This fixes build breakage introduced in r22868.
Diffstat (limited to 'libc/sysdeps/linux/avr32/bits/byteswap.h')
-rw-r--r--libc/sysdeps/linux/avr32/bits/byteswap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/avr32/bits/byteswap.h b/libc/sysdeps/linux/avr32/bits/byteswap.h
index 1c030b976..f0bea4cea 100644
--- a/libc/sysdeps/linux/avr32/bits/byteswap.h
+++ b/libc/sysdeps/linux/avr32/bits/byteswap.h
@@ -18,7 +18,7 @@
# define __bswap_16(x) (__extension__ __builtin_bswap_16(x))
#else
/* This is better than nothing. */
-static __inline unsigned short int
+static __inline__ unsigned short int
__bswap_16 (unsigned short int __bsx)
{
return ((((__bsx) >> 8) & 0xff) | (((__bsx) & 0xff) << 8));
@@ -29,7 +29,7 @@ __bswap_16 (unsigned short int __bsx)
#if defined __GNUC__
# define __bswap_32(x) (__extension__ __builtin_bswap_32(x))
#else
-static __inline unsigned int
+static __inline__ unsigned int
__bswap_32 (unsigned int __bsx)
{
return ((((__bsx) & 0xff000000) >> 24) | (((__bsx) & 0x00ff0000) >> 8) |