summaryrefslogtreecommitdiffstats
path: root/sys/arch/powerpc/include/endian.h
diff options
context:
space:
mode:
authordownsj <downsj@openbsd.org>1997-06-25 12:32:48 +0000
committerdownsj <downsj@openbsd.org>1997-06-25 12:32:48 +0000
commit23327518d007e01208c52acf572531711f5fd18c (patch)
tree54ddb3b6cfdc8024c681078ecf4299b0a1c9f6a3 /sys/arch/powerpc/include/endian.h
parent..and EXT2FS for all. (diff)
downloadwireguard-openbsd-23327518d007e01208c52acf572531711f5fd18c.tar.xz
wireguard-openbsd-23327518d007e01208c52acf572531711f5fd18c.zip
Big endian HTON?() macros should be (void)(x).
Diffstat (limited to 'sys/arch/powerpc/include/endian.h')
-rw-r--r--sys/arch/powerpc/include/endian.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/powerpc/include/endian.h b/sys/arch/powerpc/include/endian.h
index 281a4094c5d..ba0604ae164 100644
--- a/sys/arch/powerpc/include/endian.h
+++ b/sys/arch/powerpc/include/endian.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: endian.h,v 1.5 1997/06/24 20:50:42 grr Exp $ */
+/* $OpenBSD: endian.h,v 1.6 1997/06/25 12:32:53 downsj Exp $ */
/* $NetBSD: endian.h,v 1.2 1996/10/13 03:16:41 christos Exp $ */
/*-
@@ -71,10 +71,10 @@ __END_DECLS
#define htonl(x) (x)
#define htons(x) (x)
-#define NTOHL(x) (x)
-#define NTOHS(x) (x)
-#define HTONL(x) (x)
-#define HTONS(x) (x)
+#define NTOHL(x) (void)(x)
+#define NTOHS(x) (void)(x)
+#define HTONL(x) (void)(x)
+#define HTONS(x) (void)(x)
#else