mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 02:40:08 +00:00
(__protocol_available): Uncomment, it's not needed at the moment.
This commit is contained in:
parent
33c80ad75b
commit
90c00a4c96
@ -51,12 +51,13 @@ if_nameindex (void)
|
||||
stub_warning (if_nameindex)
|
||||
#include <stub-tag.h>
|
||||
|
||||
|
||||
#if 0
|
||||
void
|
||||
internal_function
|
||||
__protocol_available (int *have_inet, int *have_inet6)
|
||||
{
|
||||
/* By default we assume that IPv4 is avaialble, IPv6 not. */
|
||||
/* By default we assume that IPv4 is available, IPv6 not. */
|
||||
*have_inet = 1;
|
||||
*have_inet6 = 0;
|
||||
}
|
||||
#endif
|
||||
|
@ -156,7 +156,7 @@ if_freenameindex (struct if_nameindex *ifn)
|
||||
free (ifn);
|
||||
}
|
||||
|
||||
|
||||
#if 0
|
||||
void
|
||||
internal_function
|
||||
__protocol_available (int *have_inet, int *have_inet6)
|
||||
@ -164,3 +164,4 @@ __protocol_available (int *have_inet, int *have_inet6)
|
||||
*have_inet = _hurd_socket_server (PF_INET, 0) != MACH_PORT_NULL;
|
||||
*have_inet6 = _hurd_socket_server (PF_INET6, 0) != MACH_PORT_NULL;
|
||||
}
|
||||
#endif
|
||||
|
@ -243,7 +243,7 @@ if_indextoname (unsigned int ifindex, char *ifname)
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
#if 0
|
||||
void
|
||||
internal_function
|
||||
__protocol_available (int *have_inet, int *have_inet6)
|
||||
@ -316,3 +316,4 @@ __protocol_available (int *have_inet, int *have_inet6)
|
||||
|
||||
__close (fd);
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user