diff options
Diffstat (limited to 'resolv/resolv-internal.h')
-rw-r--r-- | resolv/resolv-internal.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/resolv/resolv-internal.h b/resolv/resolv-internal.h index 1500adc..3aca680 100644 --- a/resolv/resolv-internal.h +++ b/resolv/resolv-internal.h @@ -27,15 +27,12 @@ #define RES_F_CONN 0x00000002 /* Socket is connected. */ #define RES_F_EDNS0ERR 0x00000004 /* EDNS0 caused errors. */ - -/* Internal version of RES_USE_INET6 which does not trigger a - deprecation warning. */ -#define DEPRECATED_RES_USE_INET6 0x00002000 - +/* Legacy function. This needs to be removed once all NSS modules + have been adjusted. */ static inline bool res_use_inet6 (void) { - return _res.options & DEPRECATED_RES_USE_INET6; + return false; } enum |