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: 31485 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)