From patchwork Sat Aug 12 12:05:16 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Weimer X-Patchwork-Id: 22112 Received: (qmail 118136 invoked by alias); 12 Aug 2017 12:05:20 -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 117973 invoked by uid 89); 12 Aug 2017 12:05:19 -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 883E77F40A 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:16 +0200 To: libc-alpha@sourceware.org Subject: [PATCH] __libc_rpc_getport: Remove internal_function attribute User-Agent: Heirloom mailx 12.5 7/5/10 MIME-Version: 1.0 Message-Id: <20170812120516.A745A4027587E@oldenburg.str.redhat.com> From: fweimer@redhat.com (Florian Weimer) This function has a hidden alias and is therefore expected to be called across DSO boundaries. 2017-08-12 Florian Weimer * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove internal_function. * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise. diff --git a/include/rpc/pmap_clnt.h b/include/rpc/pmap_clnt.h index ec907c28cc..7928f0b368 100644 --- a/include/rpc/pmap_clnt.h +++ b/include/rpc/pmap_clnt.h @@ -12,8 +12,7 @@ extern int __get_socket (struct sockaddr_in *saddr) attribute_hidden internal_function; extern u_short __libc_rpc_getport (struct sockaddr_in *address, u_long program, u_long version, u_int protocol, - time_t timeout_sec, time_t tottimeout_sec) - internal_function; + time_t timeout_sec, time_t tottimeout_sec); libc_hidden_proto (__libc_rpc_getport) libc_hidden_proto (clnt_broadcast) diff --git a/sunrpc/pm_getport.c b/sunrpc/pm_getport.c index 54d2e439d2..a9992a38ea 100644 --- a/sunrpc/pm_getport.c +++ b/sunrpc/pm_getport.c @@ -82,7 +82,6 @@ __get_socket (struct sockaddr_in *saddr) * Returns 0 if no map exists. */ u_short -internal_function __libc_rpc_getport (struct sockaddr_in *address, u_long program, u_long version, u_int protocol, time_t timeout_sec, time_t tottimeout_sec)