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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user