mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 10:50:07 +00:00
__opensock: Remove internal_function attribute
This commit is contained in:
parent
67f0aff0c6
commit
038d1cafaf
@ -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]
|
||||
|
@ -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. */
|
||||
|
@ -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
|
||||
|
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user