[PATCH] resolv: Remove unsupported hook functions from the API [BZ #20016]
Florian Weimer
fweimer@redhat.com
Wed Sep 21 15:17:00 GMT 2016
On 09/09/2016 02:31 PM, Florian Weimer wrote:
> 2016-09-09 Florian Weimer <fweimer@redhat.com>
>
> [BZ #20016]
> * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
> * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
> Move ...
> * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
> ... here, as compatibility symbols in a new file.
> * resolv/Makefile (libresolv-routines): Add compat-hooks.
> * resolv/res_init.c (__res_vinit): Adjust member names.
> * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
> * resolv/resolv.h (res_sendhookact, res_send_qhook)
> (res_send_rhook): Remove.
> (struct __res_state): Rename qhook, rhook members.
Committed.
Thanks,
Florian
More information about the Libc-alpha
mailing list