X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/39236c6e673c41db228275375ab7fdb0f837b292..d9a64523371fa019c4575bb400cbbc3a50ac9903:/osfmk/i386/endian.h diff --git a/osfmk/i386/endian.h b/osfmk/i386/endian.h index 248519588..d9bed4649 100644 --- a/osfmk/i386/endian.h +++ b/osfmk/i386/endian.h @@ -68,12 +68,12 @@ unsigned short htons(unsigned short); static __inline__ unsigned long ntohl(unsigned long); static __inline__ unsigned long -ntohl(register unsigned long value) +ntohl(unsigned long value) { #if defined(__clang__) return (unsigned long)__builtin_bswap32((unsigned int)value); #else - register unsigned long l = value; + unsigned long l = value; __asm__ volatile("bswap %0" : "=r" (l) : "0" (l)); return l; #endif