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: 800859 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-83061-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="LMB1me88"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3xV0vc1vQgz9t3C for ; Sat, 12 Aug 2017 22:06:04 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:to:subject:mime-version:content-type :content-transfer-encoding:message-id:from; q=dns; s=default; b= Gcnzaq+uDgjFksxxFtHVHi93j8soXx/jUp1aVe5km/I0I+Fi/K8J8czuTpzUYyS0 73ljbsKrJ9J7lfFP+EWg4Ba86BtUrtbcayhOI2n6rhFTZTaD6gob3cf4FMl4H0Jt 7I+PCKOrUqo67zRN7OojpCH9D+knYv13arNO0ujtoDQ= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:to:subject:mime-version:content-type :content-transfer-encoding:message-id:from; s=default; bh=Veqb5c FtJsBd5r3ivk1Kwg2mhCE=; b=LMB1me88LolopvNG0+IFjTcjxoYGuDnu5dOHlW wtbMttIUIbn7pZjJXagfYIzLLaEIfABTM1Qbg29YS5DaTjVXHR29jLDTE9hEqzTU T2gKyllnywTRXzHHhm5UPkGZL0jiSgZTiLoSEYi4U9MIxWbvyuh7NscSzODWjzr0 apAbY= 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 */