mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
__netlink_assert_response: Remove internal_function attribute
This function is called from nscd and should not use a non-standard calling convention.
This commit is contained in:
@ -1,3 +1,10 @@
|
|||||||
|
2017-08-13 Florian Weimer <fweimer@redhat.com>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/netlinkaccess.h
|
||||||
|
(__netlink_assert_response): Remove internal_function.
|
||||||
|
* sysdeps/unix/sysv/linux/netlink_assert_response.c
|
||||||
|
(__netlink_assert_response): Likewise.
|
||||||
|
|
||||||
2017-08-13 Florian Weimer <fweimer@redhat.com>
|
2017-08-13 Florian Weimer <fweimer@redhat.com>
|
||||||
|
|
||||||
* include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
|
* include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
|
||||||
|
@ -39,7 +39,6 @@ get_address_family (int fd)
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
internal_function
|
|
||||||
__netlink_assert_response (int fd, ssize_t result)
|
__netlink_assert_response (int fd, ssize_t result)
|
||||||
{
|
{
|
||||||
if (result < 0)
|
if (result < 0)
|
||||||
|
@ -51,8 +51,7 @@ extern int __netlink_request (struct netlink_handle *h, int type);
|
|||||||
|
|
||||||
/* Terminate the process if RESULT is an invalid recvmsg result for
|
/* Terminate the process if RESULT is an invalid recvmsg result for
|
||||||
the netlink socket FD. */
|
the netlink socket FD. */
|
||||||
void __netlink_assert_response (int fd, ssize_t result)
|
void __netlink_assert_response (int fd, ssize_t result);
|
||||||
internal_function;
|
|
||||||
libc_hidden_proto (__netlink_assert_response)
|
libc_hidden_proto (__netlink_assert_response)
|
||||||
|
|
||||||
#endif /* netlinkaccess.h */
|
#endif /* netlinkaccess.h */
|
||||||
|
Reference in New Issue
Block a user