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.
This commit is contained in:
parent
365f05c7a5
commit
8a11f97062
|
@ -1,5 +1,8 @@
|
||||||
2019-02-15 Joseph Myers <joseph@codesourcery.com>
|
2019-02-15 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
|
* sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
|
||||||
|
from function return type.
|
||||||
|
|
||||||
* setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
|
* setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
|
||||||
|
|
||||||
2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
|
2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||||
|
|
|
@ -54,7 +54,7 @@ server_dispatch (struct svc_req *request, SVCXPRT *transport)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* The port on which rpcbind listens for incoming requests. */
|
/* The port on which rpcbind listens for incoming requests. */
|
||||||
static inline const struct sockaddr_in
|
static inline struct sockaddr_in
|
||||||
rpcbind_address (void)
|
rpcbind_address (void)
|
||||||
{
|
{
|
||||||
return (struct sockaddr_in)
|
return (struct sockaddr_in)
|
||||||
|
|
Loading…
Reference in a new issue