diff options
Diffstat (limited to 'sysdeps/x86/bits')
-rw-r--r-- | sysdeps/x86/bits/byteswap-16.h | 4 | ||||
-rw-r--r-- | sysdeps/x86/bits/byteswap.h | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sysdeps/x86/bits/byteswap-16.h b/sysdeps/x86/bits/byteswap-16.h index 9bb70fb608..fbb8ccc949 100644 --- a/sysdeps/x86/bits/byteswap-16.h +++ b/sysdeps/x86/bits/byteswap-16.h @@ -24,7 +24,7 @@ # if __GNUC__ >= 2 # define __bswap_16(x) \ (__extension__ \ - ({ register unsigned short int __v, __x = (unsigned short int) (x); \ + ({ unsigned short int __v, __x = (unsigned short int) (x); \ if (__builtin_constant_p (__x)) \ __v = __bswap_constant_16 (__x); \ else \ @@ -37,7 +37,7 @@ /* This is better than nothing. */ # define __bswap_16(x) \ (__extension__ \ - ({ register unsigned short int __x = (unsigned short int) (x); \ + ({ unsigned short int __x = (unsigned short int) (x); \ __bswap_constant_16 (__x); })) # endif #else diff --git a/sysdeps/x86/bits/byteswap.h b/sysdeps/x86/bits/byteswap.h index 9e2effc1a6..6cb7b01c2b 100644 --- a/sysdeps/x86/bits/byteswap.h +++ b/sysdeps/x86/bits/byteswap.h @@ -57,7 +57,7 @@ __bswap_32 (unsigned int __bsx) `bswap' opcode. On i386 we have to use three instructions. */ # define __bswap_32(x) \ (__extension__ \ - ({ register unsigned int __v, __x = (x); \ + ({ unsigned int __v, __x = (x); \ if (__builtin_constant_p (__x)) \ __v = __bswap_constant_32 (__x); \ else \ @@ -66,7 +66,7 @@ __bswap_32 (unsigned int __bsx) # else # define __bswap_32(x) \ (__extension__ \ - ({ register unsigned int __v, __x = (x); \ + ({ unsigned int __v, __x = (x); \ if (__builtin_constant_p (__x)) \ __v = __bswap_constant_32 (__x); \ else \ @@ -81,7 +81,7 @@ __bswap_32 (unsigned int __bsx) # else # define __bswap_32(x) \ (__extension__ \ - ({ register unsigned int __x = (x); __bswap_constant_32 (__x); })) + ({ unsigned int __x = (x); __bswap_constant_32 (__x); })) # endif #else static __inline unsigned int @@ -113,7 +113,7 @@ __bswap_64 (__uint64_t __bsx) # elif __WORDSIZE == 64 # define __bswap_64(x) \ (__extension__ \ - ({ register __uint64_t __v, __x = (x); \ + ({ __uint64_t __v, __x = (x); \ if (__builtin_constant_p (__x)) \ __v = __bswap_constant_64 (__x); \ else \ |