summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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