summaryrefslogtreecommitdiff
path: root/inet/if_index.c
diff options
context:
space:
mode:
authorPaul Pluzhnikov <ppluzhnikov@google.com>2016-05-30 15:32:09 -0700
committerPaul Pluzhnikov <ppluzhnikov@google.com>2016-05-30 15:32:09 -0700
commitca7e8dda67490749c38581497f7ec7ffca1c3ba8 (patch)
tree6f55b8749b6ace7a2c14ba246c26b209d093c0bd /inet/if_index.c
parent3e040a2d5f59c5494910bd6451b3dcb69221a047 (diff)
downloadglibc-ca7e8dda67490749c38581497f7ec7ffca1c3ba8.tar.gz
2016-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
[BZ 19653] * inet/if_index.c (__protocol_available): Delete #if 0'd code. * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
Diffstat (limited to 'inet/if_index.c')
-rw-r--r--inet/if_index.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/inet/if_index.c b/inet/if_index.c
index b55e427fac..d8054fcef0 100644
--- a/inet/if_index.c
+++ b/inet/if_index.c
@@ -58,14 +58,3 @@ __if_nameindex (void)
weak_alias (__if_nameindex, if_nameindex)
libc_hidden_weak (if_nameindex)
stub_warning (if_nameindex)
-
-#if 0
-void
-internal_function
-__protocol_available (int *have_inet, int *have_inet6)
-{
- /* By default we assume that IPv4 is available, IPv6 not. */
- *have_inet = 1;
- *have_inet6 = 0;
-}
-#endif