Fix stub __if_freenameindex build error.

This commit is contained in:
Roland McGrath 2014-12-17 13:22:41 -08:00
parent af102d9529
commit c9ce306b9c
2 changed files with 3 additions and 0 deletions

View File

@ -1,5 +1,7 @@
2014-12-17 Roland McGrath <roland@hack.frob.com> 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. * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
2014-12-17 Joseph Myers <joseph@codesourcery.com> 2014-12-17 Joseph Myers <joseph@codesourcery.com>

View File

@ -44,6 +44,7 @@ void
__if_freenameindex (struct if_nameindex *ifn) __if_freenameindex (struct if_nameindex *ifn)
{ {
} }
libc_hidden_def (__if_freenameindex)
weak_alias (__if_freenameindex, if_freenameindex) weak_alias (__if_freenameindex, if_freenameindex)
stub_warning (if_freenameindex) stub_warning (if_freenameindex)