aboutsummaryrefslogtreecommitdiffstats
path: root/libc/include/sys/endian.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/include/sys/endian.h')
-rw-r--r--libc/include/sys/endian.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/libc/include/sys/endian.h b/libc/include/sys/endian.h
index de172fe57..799a6f285 100644
--- a/libc/include/sys/endian.h
+++ b/libc/include/sys/endian.h
@@ -49,10 +49,10 @@
/* glibc compatibility. */
__BEGIN_DECLS
-uint32_t htonl(uint32_t) __attribute_const__ __INTRODUCED_IN(21);
-uint16_t htons(uint16_t) __attribute_const__ __INTRODUCED_IN(21);
-uint32_t ntohl(uint32_t) __attribute_const__ __INTRODUCED_IN(21);
-uint16_t ntohs(uint16_t) __attribute_const__ __INTRODUCED_IN(21);
+uint32_t htonl(uint32_t __x) __attribute_const__ __INTRODUCED_IN(21);
+uint16_t htons(uint16_t __x) __attribute_const__ __INTRODUCED_IN(21);
+uint32_t ntohl(uint32_t __x) __attribute_const__ __INTRODUCED_IN(21);
+uint16_t ntohs(uint16_t __x) __attribute_const__ __INTRODUCED_IN(21);
__END_DECLS
#define htonl(x) __swap32(x)
@@ -103,4 +103,4 @@ __END_DECLS
#define le64toh(x) htole64(x)
#endif /* __USE_BSD */
-#endif /* _SYS_ENDIAN_H_ */
+#endif