diff options
author | Andreas Jaeger <aj@suse.de> | 2000-12-27 08:14:22 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2000-12-27 08:14:22 +0000 |
commit | 90c00a4c965cd591498259bb0615feefa9720b9a (patch) | |
tree | f3ba259d6e53751e4ab53a8755456e3998ec7f70 | |
parent | 33c80ad75b6f2fd5a2321d3bccf4c52a89324bb8 (diff) | |
download | glibc-90c00a4c965cd591498259bb0615feefa9720b9a.tar glibc-90c00a4c965cd591498259bb0615feefa9720b9a.tar.gz glibc-90c00a4c965cd591498259bb0615feefa9720b9a.tar.bz2 glibc-90c00a4c965cd591498259bb0615feefa9720b9a.zip |
(__protocol_available): Uncomment, it's not needed at the moment.
-rw-r--r-- | sysdeps/generic/if_index.c | 5 | ||||
-rw-r--r-- | sysdeps/mach/hurd/if_index.c | 3 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/if_index.c | 3 |
3 files changed, 7 insertions, 4 deletions
diff --git a/sysdeps/generic/if_index.c b/sysdeps/generic/if_index.c index 4dc2a5511a..a6931e53d1 100644 --- a/sysdeps/generic/if_index.c +++ b/sysdeps/generic/if_index.c @@ -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 diff --git a/sysdeps/mach/hurd/if_index.c b/sysdeps/mach/hurd/if_index.c index e8ee999899..9870e44715 100644 --- a/sysdeps/mach/hurd/if_index.c +++ b/sysdeps/mach/hurd/if_index.c @@ -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 diff --git a/sysdeps/unix/sysv/linux/if_index.c b/sysdeps/unix/sysv/linux/if_index.c index 764dac79e4..5a57cb9459 100644 --- a/sysdeps/unix/sysv/linux/if_index.c +++ b/sysdeps/unix/sysv/linux/if_index.c @@ -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 |