summaryrefslogtreecommitdiff
path: root/inet/if_index.c
diff options
context:
space:
mode:
Diffstat (limited to 'inet/if_index.c')
-rw-r--r--inet/if_index.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/inet/if_index.c b/inet/if_index.c
index b55e427fac..f537d088e0 100644
--- a/inet/if_index.c
+++ b/inet/if_index.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997-2016 Free Software Foundation, Inc.
+/* Copyright (C) 1997-2018 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -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