mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Add missing libc_hidden_weak to stub if_nameindex, if_freenameindex.
This commit is contained in:
@ -1,5 +1,8 @@
|
|||||||
2015-01-23 Roland McGrath <roland@hack.frob.com>
|
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.
|
* resource/getrlimit64.c: Add missing libc_hidden_def.
|
||||||
|
|
||||||
2015-01-22 Joseph Myers <joseph@codesourcery.com>
|
2015-01-22 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
@ -46,6 +46,7 @@ __if_freenameindex (struct if_nameindex *ifn)
|
|||||||
}
|
}
|
||||||
libc_hidden_def (__if_freenameindex)
|
libc_hidden_def (__if_freenameindex)
|
||||||
weak_alias (__if_freenameindex, if_freenameindex)
|
weak_alias (__if_freenameindex, if_freenameindex)
|
||||||
|
libc_hidden_weak (if_freenameindex)
|
||||||
stub_warning (if_freenameindex)
|
stub_warning (if_freenameindex)
|
||||||
|
|
||||||
struct if_nameindex *
|
struct if_nameindex *
|
||||||
@ -55,6 +56,7 @@ __if_nameindex (void)
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
weak_alias (__if_nameindex, if_nameindex)
|
weak_alias (__if_nameindex, if_nameindex)
|
||||||
|
libc_hidden_weak (if_nameindex)
|
||||||
stub_warning (if_nameindex)
|
stub_warning (if_nameindex)
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
|
Reference in New Issue
Block a user