]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/i386/endian.h
xnu-2050.22.13.tar.gz
[apple/xnu.git] / osfmk / i386 / endian.h
index 88fbc2cd5f3d7699533798105525cf315eef2046..62dedd9e982d9edeaf133d9d59e5084c997f00f5 100644 (file)
@@ -50,8 +50,8 @@
  */
 
 #if !defined(ntohs)
-unsigned short ntohs(unsigned short);
-extern __inline__
+static __inline__ unsigned short       ntohs(unsigned short);
+static __inline__
 unsigned short
 ntohs(unsigned short w_int)
 {
@@ -67,8 +67,8 @@ unsigned short        htons(unsigned short);
 #endif
 
 #if !defined(ntohl)
-unsigned long  ntohl(unsigned long);
-extern __inline__
+static __inline__ unsigned long        ntohl(unsigned long);
+static __inline__
 unsigned long
 ntohl(register unsigned long value)
 {