__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:
Florian Weimer 2017-08-13 21:11:28 +02:00
parent c4d767f7f3
commit c4ce038287
3 changed files with 8 additions and 3 deletions

View File

@ -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>
* include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove

View File

@ -39,7 +39,6 @@ get_address_family (int fd)
}
void
internal_function
__netlink_assert_response (int fd, ssize_t result)
{
if (result < 0)

View File

@ -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
the netlink socket FD. */
void __netlink_assert_response (int fd, ssize_t result)
internal_function;
void __netlink_assert_response (int fd, ssize_t result);
libc_hidden_proto (__netlink_assert_response)
#endif /* netlinkaccess.h */