about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2014-12-17 13:22:41 -0800
committerRoland McGrath <roland@hack.frob.com>2014-12-17 13:22:41 -0800
commitc9ce306b9cb3b13dada64ac0e9dd86d955e8f881 (patch)
tree43b9772918c4f5f6aa1c58841079ca8402b184f0
parentaf102d9529faee5810fde80dac6337b6148789ad (diff)
downloadglibc-c9ce306b9cb3b13dada64ac0e9dd86d955e8f881.tar.gz
glibc-c9ce306b9cb3b13dada64ac0e9dd86d955e8f881.tar.xz
glibc-c9ce306b9cb3b13dada64ac0e9dd86d955e8f881.zip
Fix stub __if_freenameindex build error.
-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)