From c572c52a5526fc9e50a8fec655bd2d43eb2b7aa9 Mon Sep 17 00:00:00 2001 From: Jason Downs Date: Wed, 25 Jun 1997 12:32:55 +0000 Subject: Big endian HTON?() macros should be (void)(x). --- sys/arch/alpha/include/endian.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'sys/arch/alpha') 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 -- cgit v1.2.3