(__protocol_available): Uncomment, it's not needed at the moment.

This commit is contained in:
Andreas Jaeger 2000-12-27 08:14:22 +00:00
parent 33c80ad75b
commit 90c00a4c96
3 changed files with 7 additions and 4 deletions

View File

@ -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

View File

@ -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

View File

@ -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