mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
__inet6_scopeid_pton: Remove attribute_hidden, internal_function
The hidden attribute was overridden by libc_hidden_proto on GNU/Linux. It is incorrect because the function is used from nscd. internal_function is not supposed to be used across DSO boundaries, so this commit removes it (again, due to the use in nscd).
This commit is contained in:
@ -1,3 +1,10 @@
|
|||||||
|
2017-08-10 Florian Weimer <fweimer@redhat.com>
|
||||||
|
|
||||||
|
* inet/net-internal.h (__inet6_scopeid_pton): Remove
|
||||||
|
attribute_hidden, internal_function.
|
||||||
|
* inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
|
||||||
|
internal_function.
|
||||||
|
|
||||||
2017-08-10 Florian Weimer <fweimer@redhat.com>
|
2017-08-10 Florian Weimer <fweimer@redhat.com>
|
||||||
|
|
||||||
* malloc/malloc.c (get_max_fast): Reimplement as an inline
|
* malloc/malloc.c (get_max_fast): Reimplement as an inline
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
|
|
||||||
/* Parse SOURCE as a scope ID for ADDRESS. Return 0 on success and -1
|
/* Parse SOURCE as a scope ID for ADDRESS. Return 0 on success and -1
|
||||||
on error. */
|
on error. */
|
||||||
internal_function int
|
int
|
||||||
__inet6_scopeid_pton (const struct in6_addr *address, const char *scope,
|
__inet6_scopeid_pton (const struct in6_addr *address, const char *scope,
|
||||||
uint32_t *result)
|
uint32_t *result)
|
||||||
{
|
{
|
||||||
|
@ -25,8 +25,7 @@
|
|||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
|
|
||||||
int __inet6_scopeid_pton (const struct in6_addr *address,
|
int __inet6_scopeid_pton (const struct in6_addr *address,
|
||||||
const char *scope, uint32_t *result)
|
const char *scope, uint32_t *result);
|
||||||
internal_function attribute_hidden;
|
|
||||||
libc_hidden_proto (__inet6_scopeid_pton)
|
libc_hidden_proto (__inet6_scopeid_pton)
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user