about summary refs log tree commit diff
path: root/sysdeps/unix
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 /sysdeps/unix
parentc4d767f7f35efa43f072d494185f1cea4a7bd871 (diff)
downloadglibc-c4ce038287c907495d589104e497991185d43c89.tar.gz
glibc-c4ce038287c907495d589104e497991185d43c89.tar.xz
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.
Diffstat (limited to 'sysdeps/unix')
-rw-r--r--sysdeps/unix/sysv/linux/netlink_assert_response.c1
-rw-r--r--sysdeps/unix/sysv/linux/netlinkaccess.h3
2 files changed, 1 insertions, 3 deletions
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 */