about summary refs log tree commit diff
path: root/sunrpc
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2019-02-15 13:45:19 +0000
committerJoseph Myers <joseph@codesourcery.com>2019-02-15 13:45:19 +0000
commit8a11f97062ec7f1a2fed4aefa36c7bebecf87181 (patch)
treeac8aa184c80bb4db6e55ef4c44151bb45506572d /sunrpc
parent365f05c7a5f16aaaec06465ab6c89247c66b4574 (diff)
downloadglibc-8a11f97062ec7f1a2fed4aefa36c7bebecf87181.tar.gz
glibc-8a11f97062ec7f1a2fed4aefa36c7bebecf87181.tar.xz
glibc-8a11f97062ec7f1a2fed4aefa36c7bebecf87181.zip
Remove qualifier from function return type in tst-svc_register.c.
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.

	* sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
	from function return type.
Diffstat (limited to 'sunrpc')
-rw-r--r--sunrpc/tst-svc_register.c2
1 files changed, 1 insertions, 1 deletions
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)