X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/8f6c56a50524aa785f7e596d52dddfb331e18961..db6096698656d32db7df630594bd9617ee54f828:/osfmk/i386/endian.h?ds=sidebyside diff --git a/osfmk/i386/endian.h b/osfmk/i386/endian.h index 88fbc2cd5..62dedd9e9 100644 --- a/osfmk/i386/endian.h +++ b/osfmk/i386/endian.h @@ -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) {