diff options
author | Jason Downs <downsj@cvs.openbsd.org> | 1997-06-25 12:32:55 +0000 |
---|---|---|
committer | Jason Downs <downsj@cvs.openbsd.org> | 1997-06-25 12:32:55 +0000 |
commit | c572c52a5526fc9e50a8fec655bd2d43eb2b7aa9 (patch) | |
tree | 8e7a9ac003675b28a44bc2a456f52469e5b47295 /sys/arch/powerpc/include | |
parent | 696d35f3b13afe373a3def0699a693ad4c7f01c4 (diff) |
Big endian HTON?() macros should be (void)(x).
Diffstat (limited to 'sys/arch/powerpc/include')
-rw-r--r-- | sys/arch/powerpc/include/endian.h | 10 |
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 |