aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2017-08-13 21:11:28 +0200
committerFlorian Weimer <fweimer@redhat.com>2017-08-13 21:11:28 +0200
commitc4ce038287c907495d589104e497991185d43c89 (patch)
tree8e8d675231c0e9f8bb4f42452d27a7ad08a925cb
parentc4d767f7f35efa43f072d494185f1cea4a7bd871 (diff)
downloadglibc-c4ce038287c907495d589104e497991185d43c89.tar
glibc-c4ce038287c907495d589104e497991185d43c89.tar.gz
glibc-c4ce038287c907495d589104e497991185d43c89.tar.bz2
glibc-c4ce038287c907495d589104e497991185d43c89.zip
__netlink_assert_response: Remove internal_function attribute
This function is called from nscd and should not use a non-standard calling convention.
-rw-r--r--ChangeLog7
-rw-r--r--sysdeps/unix/sysv/linux/netlink_assert_response.c1
-rw-r--r--sysdeps/unix/sysv/linux/netlinkaccess.h3
3 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 408c6f63bb..b5526501e3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
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
internal_function.
* sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
diff --git a/sysdeps/unix/sysv/linux/netlink_assert_response.c b/sysdeps/unix/sysv/linux/netlink_assert_response.c
index d60eb1515e..39eacb1441 100644
--- a/sysdeps/unix/sysv/linux/netlink_assert_response.c
+++ b/sysdeps/unix/sysv/linux/netlink_assert_response.c
@@ -39,7 +39,6 @@ get_address_family (int fd)
}
void
-internal_function
__netlink_assert_response (int fd, ssize_t result)
{
if (result < 0)
diff --git a/sysdeps/unix/sysv/linux/netlinkaccess.h b/sysdeps/unix/sysv/linux/netlinkaccess.h
index 6cffb65b14..66bbbe6158 100644
--- a/sysdeps/unix/sysv/linux/netlinkaccess.h
+++ b/sysdeps/unix/sysv/linux/netlinkaccess.h
@@ -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 */