git-__inet6_scopeid_pton
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)
committerAurelien Jarno <aurel32@debian.org>
Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)
commit f87cc2bfba9b844da48a63441c6099342b1551c7
Author: Florian Weimer <fweimer@redhat.com>
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

inet/inet6_scopeid_pton.c
inet/net-internal.h

index f842ffcadb3919603b3a9c1ed4085c3f9eb1d20e..b4f239faaf122f1b487394f4de3bb8d1a14b14c4 100644 (file)
@@ -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)
 {
index 2b2632c7ba845c7b3ea6d735f7e7451728f5c5b2..b2135893e8a3fccbd0a6e0df809ee56a5401ecc4 100644 (file)
@@ -25,8 +25,7 @@
 #include <sys/time.h>
 
 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)