about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--inet/if_index.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 634166dbba..a3e9020bef 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2014-12-17  Roland McGrath  <roland@hack.frob.com>
 
+	* inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
+
 	* malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
 
 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
diff --git a/inet/if_index.c b/inet/if_index.c
index 8b30d0190c..af119610ba 100644
--- a/inet/if_index.c
+++ b/inet/if_index.c
@@ -44,6 +44,7 @@ void
 __if_freenameindex (struct if_nameindex *ifn)
 {
 }
+libc_hidden_def (__if_freenameindex)
 weak_alias (__if_freenameindex, if_freenameindex)
 stub_warning (if_freenameindex)