aboutsummaryrefslogtreecommitdiff
path: root/sys/sparc64/include/endian.h
diff options
context:
space:
mode:
authorThomas Moestl <tmm@FreeBSD.org>2001-10-12 15:55:45 +0000
committerThomas Moestl <tmm@FreeBSD.org>2001-10-12 15:55:45 +0000
commitc2f5c600c15a70f18a474ce4b0157237f8b5ab91 (patch)
tree7d4cd6a0902b460637c000257b142baadffef74f /sys/sparc64/include/endian.h
parent5f19cf9309868167d16a723fdda65c679c75a596 (diff)
downloadsrc-c2f5c600c15a70f18a474ce4b0157237f8b5ab91.tar.gz
src-c2f5c600c15a70f18a474ce4b0157237f8b5ab91.zip
Make the NTOHL, NTOHS, HTONL and HTONS macros (which are nops on
sparc64) empty to avoid compiler warnings.
Notes
Notes: svn path=/head/; revision=84846
Diffstat (limited to 'sys/sparc64/include/endian.h')
-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 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