From 2ec2d7032ff9220da1577c37d41ae85c0721ad66 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 23 Jan 2015 11:29:02 -0800 Subject: Add missing libc_hidden_weak to stub if_nameindex, if_freenameindex. --- inet/if_index.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'inet') 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 -- cgit 1.4.1