about summary refs log tree commit diff
path: root/inet/inet6_scopeid_pton.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2017-08-10 16:06:52 +0200
committerFlorian Weimer <fweimer@redhat.com>2017-08-10 16:06:52 +0200
commitf87cc2bfba9b844da48a63441c6099342b1551c7 (patch)
tree99cd6df10a20b8183d212a3f66b9e49399e20c7a /inet/inet6_scopeid_pton.c
parenteac43cbb8d808a40004aa0a4a286f5c5155beccb (diff)
downloadglibc-f87cc2bfba9b844da48a63441c6099342b1551c7.tar.gz
glibc-f87cc2bfba9b844da48a63441c6099342b1551c7.tar.xz
glibc-f87cc2bfba9b844da48a63441c6099342b1551c7.zip
__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).
Diffstat (limited to 'inet/inet6_scopeid_pton.c')
-rw-r--r--inet/inet6_scopeid_pton.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/inet/inet6_scopeid_pton.c b/inet/inet6_scopeid_pton.c
index e09b1cb34d..cc8803fa10 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)
 {