diff options
author | tmm <tmm@FreeBSD.org> | 2001-10-12 15:55:45 +0000 |
---|---|---|
committer | tmm <tmm@FreeBSD.org> | 2001-10-12 15:55:45 +0000 |
commit | f6584937ae6cd73d9d380bf31b79e2082c7e391d (patch) | |
tree | 7d4cd6a0902b460637c000257b142baadffef74f /sys | |
parent | 8ab8d21a7bd3705778c0d44f37965719c239c0d9 (diff) | |
download | FreeBSD-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.h | 8 |
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 |