From 6815a33d53164e7f1a3b87cec905c17c7a14a007 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Wed, 21 Sep 2016 16:30:27 +0200 Subject: resolv: Remove unsupported hook functions from the API [BZ #20016] --- resolv/res_init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'resolv/res_init.c') diff --git a/resolv/res_init.c b/resolv/res_init.c index bfae537da4..0a01fd56db 100644 --- a/resolv/res_init.c +++ b/resolv/res_init.c @@ -144,8 +144,8 @@ __res_vinit(res_state statp, int preinit) { statp->pfcode = 0; statp->_vcsock = -1; statp->_flags = 0; - statp->qhook = NULL; - statp->rhook = NULL; + statp->__glibc_unused_qhook = NULL; + statp->__glibc_unused_rhook = NULL; statp->_u._ext.nscount = 0; for (n = 0; n < MAXNS; n++) statp->_u._ext.nsaddrs[n] = NULL; -- cgit v1.2.3