1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-07 06:43:00 +03:00

resolv: Move res_send, res_nsend into libc

Switch to public symbols without __ prefix (due to improved
namespace management).

__res_send, __res_nsend were moved using the script (with
--no-new-version).  res_send@@GLIBC_2.34 and res_nsend@@GLIBC_2.34
were added using make update-all-abi.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
This commit is contained in:
Florian Weimer
2021-07-19 07:55:27 +02:00
parent 66ac4268f4
commit b165c65c35
70 changed files with 177 additions and 92 deletions

View File

@@ -27,9 +27,9 @@ __res_enable_icmp (int family, int fd)
switch (family)
{
case AF_INET:
return setsockopt (fd, SOL_IP, IP_RECVERR, &one, sizeof (one));
return __setsockopt (fd, SOL_IP, IP_RECVERR, &one, sizeof (one));
case AF_INET6:
return setsockopt (fd, SOL_IPV6, IPV6_RECVERR, &one, sizeof (one));
return __setsockopt (fd, SOL_IPV6, IPV6_RECVERR, &one, sizeof (one));
default:
__set_errno (EAFNOSUPPORT);
return -1;