Make the NTOHL, NTOHS, HTONL and HTONS macros (which are nops on

sparc64) empty to avoid compiler warnings.
This commit is contained in:
Thomas Moestl 2001-10-12 15:55:45 +00:00
parent 5f19cf9309
commit c2f5c600c1

View File

@ -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