From patchwork Sat Aug 12 12:05:17 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Weimer X-Patchwork-Id: 22113 Received: (qmail 118317 invoked by alias); 12 Aug 2017 12:05:22 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 118237 invoked by uid 89); 12 Aug 2017 12:05:21 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RP_MATCHES_RCVD, SPF_HELO_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mx1.redhat.com DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com B46CC8123E Authentication-Results: ext-mx01.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx01.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=fweimer@redhat.com Date: Sat, 12 Aug 2017 14:05:17 +0200 To: libc-alpha@sourceware.org Subject: [PATCH] __netlink_assert_response: Remove internal_function attribute User-Agent: Heirloom mailx 12.5 7/5/10 MIME-Version: 1.0 Message-Id: <20170812120517.CF02F4027587E@oldenburg.str.redhat.com> From: fweimer@redhat.com (Florian Weimer) This function is called from nscd and should not use a non-standard calling convention. 2017-08-12 Florian Weimer * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_assert_response): Remove internal_function. * sysdeps/unix/sysv/linux/netlink_assert_response.c (__netlink_assert_response): 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 */