summaryrefslogtreecommitdiff
path: root/sys/arch/alpha
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/alpha
parent696d35f3b13afe373a3def0699a693ad4c7f01c4 (diff)
Big endian HTON?() macros should be (void)(x).
Diffstat (limited to 'sys/arch/alpha')
-rw-r--r--sys/arch/alpha/include/endian.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/alpha/include/endian.h b/sys/arch/alpha/include/endian.h
index f2852a785bb..5c4a852c700 100644
--- a/sys/arch/alpha/include/endian.h
+++ b/sys/arch/alpha/include/endian.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: endian.h,v 1.4 1997/04/04 03:05:28 millert Exp $ */
+/* $OpenBSD: endian.h,v 1.5 1997/06/25 12:32:48 downsj Exp $ */
/* $NetBSD: endian.h,v 1.3 1996/10/13 19:57:59 cgd Exp $ */
/*
@@ -77,10 +77,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