include/arpa/nameser_compat.h: merged

Removing compatibility macros, and updating the two tools still using
them.

Change-Id: I636f045d76a8f92440ebe1503f52f7e5d704a316
This commit is contained in:
2013-12-02 16:03:29 +01:00
parent d1ae7749c8
commit fe1223849e
3 changed files with 43 additions and 51 deletions

View File

@@ -133,14 +133,6 @@ typedef struct {
unsigned arcount :16; /*%< number of resource entries */
} HEADER;
#if defined(__minix) && defined(_NETBSD_SOURCE)
#define dh_id id
#define dh_qdcount qdcount
#define dh_ancount ancount
#define dh_nscount nscount
#define dh_arcount arcount
#endif /* defined(__minix) && defined(_NETBSD_SOURCE) */
#define PACKETSZ NS_PACKETSZ
#define MAXDNAME NS_MAXDNAME
#define MAXCDNAME NS_MAXCDNAME