From: GNU Libc Maintainers Date: Sat, 16 Dec 2017 14:37:43 +0000 (+0000) Subject: git-__inet6_scopeid_pton X-Git-Tag: archive/raspbian/2.25-5+rpi1^2~74 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=cb2d38cd078b162d99b211c4b755002c811e651e;p=glibc.git git-__inet6_scopeid_pton commit f87cc2bfba9b844da48a63441c6099342b1551c7 Author: Florian Weimer Date: Thu Aug 10 16:06:52 2017 +0200 __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). Gbp-Pq: Topic hurd-i386 Gbp-Pq: Name git-__inet6_scopeid_pton.diff --- diff --git a/inet/inet6_scopeid_pton.c b/inet/inet6_scopeid_pton.c index f842ffcad..b4f239faa 100644 --- a/inet/inet6_scopeid_pton.c +++ b/inet/inet6_scopeid_pton.c @@ -28,7 +28,7 @@ /* Parse SOURCE as a scope ID for ADDRESS. Return 0 on success and -1 on error. */ -internal_function int +int __inet6_scopeid_pton (const struct in6_addr *address, const char *scope, uint32_t *result) { diff --git a/inet/net-internal.h b/inet/net-internal.h index 2b2632c7b..b2135893e 100644 --- a/inet/net-internal.h +++ b/inet/net-internal.h @@ -25,8 +25,7 @@ #include int __inet6_scopeid_pton (const struct in6_addr *address, - const char *scope, uint32_t *result) - internal_function attribute_hidden; + const char *scope, uint32_t *result); libc_hidden_proto (__inet6_scopeid_pton)