summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc/include/endian.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/powerpc/include/endian.h')
-rw-r--r--sys/arch/powerpc/include/endian.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/powerpc/include/endian.h b/sys/arch/powerpc/include/endian.h
index 6f5c4c62297..ef8ca26ff9b 100644
--- a/sys/arch/powerpc/include/endian.h
+++ b/sys/arch/powerpc/include/endian.h
@@ -52,10 +52,10 @@
#include <sys/cdefs.h>
__BEGIN_DECLS
-unsigned long htonl __P((unsigned long));
-unsigned short htons __P((unsigned short));
-unsigned long ntohl __P((unsigned long));
-unsigned short ntohs __P((unsigned short));
+u_int32_t htonl __P((u_int32_t));
+u_int16_t htons __P((u_int16_t));
+u_int32_t ntohl __P((u_int32_t));
+u_int16_t ntohs __P((u_int16_t));
__END_DECLS
/*