]> sourceware.org Git - glibc.git/commitdiff
(__protocol_available): Uncomment, it's not needed at the moment.
authorAndreas Jaeger <aj@suse.de>
Wed, 27 Dec 2000 08:14:22 +0000 (08:14 +0000)
committerAndreas Jaeger <aj@suse.de>
Wed, 27 Dec 2000 08:14:22 +0000 (08:14 +0000)
sysdeps/generic/if_index.c
sysdeps/mach/hurd/if_index.c
sysdeps/unix/sysv/linux/if_index.c

index 4dc2a5511a4dd827164920e18b113b59febe9e8e..a6931e53d1fa27c3a4d783c82b82dc71017a6acd 100644 (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
index e8ee9998992fb668057f56c3e30bc3b4ae1c3afe..9870e44715f48b1be65baf11fad2afb87af898cd 100644 (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
index 764dac79e4f79dfdfb507d7ad8012d4f4ce1a2e2..5a57cb9459eed19d65028d1b5ae8ad8f7e79a535 100644 (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
This page took 0.049985 seconds and 5 git commands to generate.