From c2f5c600c15a70f18a474ce4b0157237f8b5ab91 Mon Sep 17 00:00:00 2001 From: Thomas Moestl Date: Fri, 12 Oct 2001 15:55:45 +0000 Subject: [PATCH] Make the NTOHL, NTOHS, HTONL and HTONS macros (which are nops on sparc64) empty to avoid compiler warnings. --- sys/sparc64/include/endian.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/sparc64/include/endian.h b/sys/sparc64/include/endian.h index b63b68ec27c5..54cc62474012 100644 --- a/sys/sparc64/include/endian.h +++ b/sys/sparc64/include/endian.h @@ -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) +#define NTOHS(x) +#define HTONL(x) +#define HTONS(x) #else