]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/i386/endian.h
xnu-4570.51.1.tar.gz
[apple/xnu.git] / osfmk / i386 / endian.h
index 24851958871eafbb0d7eefd9f61ce57c2cc1c1d9..d9bed4649eb9aef73866a254ca7d5d4932d234ff 100644 (file)
@@ -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