From patchwork Thu Feb 14 22:04:04 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Myers X-Patchwork-Id: 1042471 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-100046-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="A0UmsCyh"; 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 440r5Y75KGz9rxp for ; Fri, 15 Feb 2019 09:04:17 +1100 (AEDT) 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:from:to:subject:message-id:mime-version :content-type; q=dns; s=default; b=MSZxjNZmATQQtxAt+4ARhN4QPoHNb OrKW4H5QVXKK7r4oe8BTouEh+PMONyDUqWvzvnBGAGh6XMHPGKrXf3r5DmXNG4lL nXGqyR2QAIfme4aMrsidFANELtUOKEmm9Dx6wXCULuFch+1GRg1BWMKJNEtnbZZt qzxwnv02dz1FHw= 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:from:to:subject:message-id:mime-version :content-type; s=default; bh=d1PvkoEw1bWYdxqNCRYONi8SfSI=; b=A0U msCyhRIw15Z/jx145xf/aa73qag82Oq5MEMWORL2/LR33hrG7nERFSz0h86Om5It dVb939DAcujmAzdU7PxW+gtT34NTdqvUVDNGyznjzOZ91p+G9nqQG2RdigcvRPkR kSWV0FGALXpHgK6lY3xJgpfp9sPP6tNUlJlSN7To= Received: (qmail 93994 invoked by alias); 14 Feb 2019 22:04:12 -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 93962 invoked by uid 89); 14 Feb 2019 22:04:11 -0000 Authentication-Results: sourceware.org; auth=none 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, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:886 X-HELO: relay1.mentorg.com Date: Thu, 14 Feb 2019 22:04:04 +0000 From: Joseph Myers To: Subject: Remove qualifier from function return type in tst-svc_register.c Message-ID: User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Building the testsuite with -Wextra produces a warning in sunrpc/tst-svc_register.c for a useless qualifier on a function return type. This patch removes that qualifier. Tested for x86_64. 2019-02-14 Joseph Myers * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier from function return type. diff --git a/sunrpc/tst-svc_register.c b/sunrpc/tst-svc_register.c index 7590121e5c..73f8db2fa1 100644 --- a/sunrpc/tst-svc_register.c +++ b/sunrpc/tst-svc_register.c @@ -54,7 +54,7 @@ server_dispatch (struct svc_req *request, SVCXPRT *transport) } /* The port on which rpcbind listens for incoming requests. */ -static inline const struct sockaddr_in +static inline struct sockaddr_in rpcbind_address (void) { return (struct sockaddr_in)