summaryrefslogtreecommitdiff
path: root/sys/arch/wgrisc/include/endian.h
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1997-06-25 12:32:55 +0000
committerJason Downs <downsj@cvs.openbsd.org>1997-06-25 12:32:55 +0000
commitc572c52a5526fc9e50a8fec655bd2d43eb2b7aa9 (patch)
tree8e7a9ac003675b28a44bc2a456f52469e5b47295 /sys/arch/wgrisc/include/endian.h
parent696d35f3b13afe373a3def0699a693ad4c7f01c4 (diff)
Big endian HTON?() macros should be (void)(x).
Diffstat (limited to 'sys/arch/wgrisc/include/endian.h')
-rw-r--r--sys/arch/wgrisc/include/endian.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/wgrisc/include/endian.h b/sys/arch/wgrisc/include/endian.h
index 57ef0088e79..1ec9259725a 100644
--- a/sys/arch/wgrisc/include/endian.h
+++ b/sys/arch/wgrisc/include/endian.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: endian.h,v 1.2 1997/04/04 03:05:37 millert Exp $ */
+/* $OpenBSD: endian.h,v 1.3 1997/06/25 12:32:54 downsj Exp $ */
/* $NetBSD: endian.h,v 1.4 1994/10/26 21:09:38 cgd Exp $ */
/*
@@ -82,10 +82,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