aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/mach/hurd/if_index.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd/if_index.c')
-rw-r--r--sysdeps/mach/hurd/if_index.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/if_index.c b/sysdeps/mach/hurd/if_index.c
index 63dad54124..664a3a1ef3 100644
--- a/sysdeps/mach/hurd/if_index.c
+++ b/sysdeps/mach/hurd/if_index.c
@@ -50,6 +50,7 @@ if_nametoindex (const char *ifname)
__close (fd);
return ifr.ifr_ifindex;
}
+libc_hidden_def (if_nametoindex)
/* Free the structure IFN returned by if_nameindex. */
void
@@ -176,6 +177,7 @@ if_indextoname (unsigned int ifindex, char *ifname)
__close (fd);
return strncpy (ifname, ifr.ifr_name, IFNAMSIZ);
}
+libc_hidden_def (if_indextoname)
#if 0
void