diff mbox

[COMMITTED] Add missing libc_hidden_weak to stub if_nameindex, if_freenameindex.

Message ID 20150123192933.14D8A2C3B1C@topped-with-meat.com
State New
Headers show

Commit Message

Roland McGrath Jan. 23, 2015, 7:29 p.m. UTC
* inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
	(if_freenameindex): Likewise.
diff mbox

Patch

--- 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