summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authortmm <tmm@FreeBSD.org>2001-10-12 15:55:45 +0000
committertmm <tmm@FreeBSD.org>2001-10-12 15:55:45 +0000
commitf6584937ae6cd73d9d380bf31b79e2082c7e391d (patch)
tree7d4cd6a0902b460637c000257b142baadffef74f /sys
parent8ab8d21a7bd3705778c0d44f37965719c239c0d9 (diff)
downloadFreeBSD-src-f6584937ae6cd73d9d380bf31b79e2082c7e391d.zip
FreeBSD-src-f6584937ae6cd73d9d380bf31b79e2082c7e391d.tar.gz
Make the NTOHL, NTOHS, HTONL and HTONS macros (which are nops on
sparc64) empty to avoid compiler warnings.
Diffstat (limited to 'sys')
-rw-r--r--sys/sparc64/include/endian.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/sparc64/include/endian.h b/sys/sparc64/include/endian.h
index b63b68e..54cc624 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
OpenPOWER on IntegriCloud