Message ID | alpine.DEB.2.21.1902142203500.4022@digraph.polyomino.org.uk |
---|---|
State | New |
Headers | show |
Series | Remove qualifier from function return type in tst-svc_register.c | expand |
* 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.
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)