Remove qualifier from function return type in tst-svc_register.c
Commit Message
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 <joseph@codesourcery.com>
* sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
from function return type.
Comments
* Joseph Myers:
> /* The port on which rpcbind listens for incoming requests. */
> -static inline const struct sockaddr_in
> +static inline struct sockaddr_in
> rpcbind_address (void)
Looks good.
@@ -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)