about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2015-01-23 11:29:02 -0800
committerRoland McGrath <roland@hack.frob.com>2015-01-23 11:29:02 -0800
commit2ec2d7032ff9220da1577c37d41ae85c0721ad66 (patch)
treec426ee03115e6c717becd8857afdc25ce4d838c7
parentda5bf2459ced2f08b89cb462e20eecd7882a38ea (diff)
downloadglibc-2ec2d7032ff9220da1577c37d41ae85c0721ad66.tar.gz
glibc-2ec2d7032ff9220da1577c37d41ae85c0721ad66.tar.xz
glibc-2ec2d7032ff9220da1577c37d41ae85c0721ad66.zip
Add missing libc_hidden_weak to stub if_nameindex, if_freenameindex.
-rw-r--r--ChangeLog3
-rw-r--r--inet/if_index.c2
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index e708002202..051a7c4c56 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2015-01-23  Roland McGrath  <roland@hack.frob.com>
 
+	* inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
+	(if_freenameindex): Likewise.
+
 	* resource/getrlimit64.c: Add missing libc_hidden_def.
 
 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
diff --git a/inet/if_index.c b/inet/if_index.c
index 7998eec805..73b1efe06f 100644
--- a/inet/if_index.c
+++ b/inet/if_index.c
@@ -46,6 +46,7 @@ __if_freenameindex (struct if_nameindex *ifn)
 }
 libc_hidden_def (__if_freenameindex)
 weak_alias (__if_freenameindex, if_freenameindex)
+libc_hidden_weak (if_freenameindex)
 stub_warning (if_freenameindex)
 
 struct if_nameindex *
@@ -55,6 +56,7 @@ __if_nameindex (void)
   return NULL;
 }
 weak_alias (__if_nameindex, if_nameindex)
+libc_hidden_weak (if_nameindex)
 stub_warning (if_nameindex)
 
 #if 0