diff options
author | Florian Weimer <fweimer@redhat.com> | 2016-09-21 16:27:14 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2016-09-21 16:27:14 +0200 |
commit | be728303a6bcf7d2cf8d6c6ccc56d98d65309b81 (patch) | |
tree | 2444de3bdb4a14b7647b00c7b2aa0094063fac2b /resolv/arpa | |
parent | 006768c72aba96d4679af1483ec0a07262c25b29 (diff) | |
download | glibc-be728303a6bcf7d2cf8d6c6ccc56d98d65309b81.tar.gz glibc-be728303a6bcf7d2cf8d6c6ccc56d98d65309b81.tar.xz glibc-be728303a6bcf7d2cf8d6c6ccc56d98d65309b81.zip |
<arpa/nameser.h>: Remove RR type classification macros [BZ #20592]
The macros are no longer up-to-date, and the classification is not useful. In this particular case, removal without prior deprecation seems the right approach.
Diffstat (limited to 'resolv/arpa')
-rw-r--r-- | resolv/arpa/nameser.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/resolv/arpa/nameser.h b/resolv/arpa/nameser.h index f11b9f0ec7..a866ce8973 100644 --- a/resolv/arpa/nameser.h +++ b/resolv/arpa/nameser.h @@ -283,17 +283,6 @@ typedef enum __ns_type { ns_t_max = 65536 } ns_type; -/* Exclusively a QTYPE? (not also an RTYPE) */ -#define ns_t_qt_p(t) (ns_t_xfr_p(t) || (t) == ns_t_any || \ - (t) == ns_t_mailb || (t) == ns_t_maila) -/* Some kind of meta-RR? (not a QTYPE, but also not an RTYPE) */ -#define ns_t_mrr_p(t) ((t) == ns_t_tsig || (t) == ns_t_opt) -/* Exclusively an RTYPE? (not also a QTYPE or a meta-RR) */ -#define ns_t_rr_p(t) (!ns_t_qt_p(t) && !ns_t_mrr_p(t)) -#define ns_t_udp_p(t) ((t) != ns_t_axfr && (t) != ns_t_zxfr) -#define ns_t_xfr_p(t) ((t) == ns_t_axfr || (t) == ns_t_ixfr || \ - (t) == ns_t_zxfr) - /*% * Values for class field */ |