about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/if_index.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/if_index.c')
-rw-r--r--sysdeps/unix/sysv/linux/if_index.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/if_index.c b/sysdeps/unix/sysv/linux/if_index.c
index 9868171290..46f8b1ec11 100644
--- a/sysdeps/unix/sysv/linux/if_index.c
+++ b/sysdeps/unix/sysv/linux/if_index.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1997,98,99,2000,02 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
@@ -62,6 +62,8 @@ if_nametoindex (const char *ifname)
   return ifr.ifr_ifindex;
 #endif
 }
+libc_hidden_def (if_nametoindex)
+
 
 void
 if_freenameindex (struct if_nameindex *ifn)
@@ -242,6 +244,7 @@ if_indextoname (unsigned int ifindex, char *ifname)
 # endif
 #endif
 }
+libc_hidden_def (if_indextoname)
 
 #if 0
 void