]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
__opensock: Remove internal_function attribute
authorFlorian Weimer <fweimer@redhat.com>
Thu, 17 Aug 2017 08:18:04 +0000 (10:18 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Thu, 17 Aug 2017 08:18:15 +0000 (10:18 +0200)
ChangeLog
include/sys/socket.h
socket/opensock.c
sysdeps/unix/sysv/linux/opensock.c

index e6babbbbee6c1818245c9601b67a6305b8e7d5dc..4505dcef1dc369950d8d095dc2979e7703ce509b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2017-08-17  Florian Weimer  <fweimer@redhat.com>
+
+       * include/sys/socket.h (__opensock): Remove internal_function.
+       * socket/opensock.c (__opensock): Likewise.
+       * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
+
 2017-08-16  Joseph Myers  <joseph@codesourcery.com>
 
        [BZ #21944]
index a00ab3cf93a8369b5c1fe0a5b73d2c3c0928a0c1..baec6e6439a089ec895ac1a5939526b550aae11f 100644 (file)
@@ -20,7 +20,7 @@ extern int __socketpair (int __domain, int __type, int __protocol,
 
 /* Return a socket of any type.  The socket can be used in subsequent
    ioctl calls to talk to the kernel.  */
-extern int __opensock (void) internal_function attribute_hidden;
+extern int __opensock (void) attribute_hidden;
 
 /* Put the address of the peer connected to socket FD into *ADDR
    (which is *LEN bytes long), and its actual length into *LEN.  */
index 848cdd66b15a654bb6957eda902da08733ba881f..d8f88d3100ca726722f73323762124561505bfa8 100644 (file)
@@ -21,7 +21,7 @@
 
 /* Return a socket of any type.  The socket can be used in subsequent
    ioctl calls to talk to the kernel.  */
-int internal_function
+int
 __opensock (void)
 {
   /* Cache the last AF that worked, to avoid many redundant calls to
index b8fd27f863a0fb49e74fc43e1c36fc1961df50af..21508cdc75506ee71dfd2315b75a27f3533c3564 100644 (file)
@@ -24,7 +24,7 @@
 
 /* Return a socket of any type.  The socket can be used in subsequent
    ioctl calls to talk to the kernel.  */
-int internal_function
+int
 __opensock (void)
 {
   static int last_family;      /* Available socket family we will use.  */