diff options
Diffstat (limited to 'sunrpc')
-rw-r--r-- | sunrpc/pmap_rmt.c | 10 | ||||
-rw-r--r-- | sunrpc/svc_udp.c | 4 |
2 files changed, 4 insertions, 10 deletions
diff --git a/sunrpc/pmap_rmt.c b/sunrpc/pmap_rmt.c index c0adc5b49a..c8a8011ea5 100644 --- a/sunrpc/pmap_rmt.c +++ b/sunrpc/pmap_rmt.c @@ -64,13 +64,9 @@ static const struct timeval timeout = {3, 0}; * programs to do a lookup and call in one step. */ enum clnt_stat -pmap_rmtcall (addr, prog, vers, proc, xdrargs, argsp, xdrres, resp, tout, port_ptr) - struct sockaddr_in *addr; - u_long prog, vers, proc; - xdrproc_t xdrargs, xdrres; - caddr_t argsp, resp; - struct timeval tout; - u_long *port_ptr; +pmap_rmtcall (struct sockaddr_in *addr, u_long prog, u_long vers, u_long proc, + xdrproc_t xdrargs, caddr_t argsp, xdrproc_t xdrres, caddr_t resp, + struct timeval tout, u_long *port_ptr) { int socket = -1; CLIENT *client; diff --git a/sunrpc/svc_udp.c b/sunrpc/svc_udp.c index 956a1e9cec..0e893c1929 100644 --- a/sunrpc/svc_udp.c +++ b/sunrpc/svc_udp.c @@ -118,9 +118,7 @@ struct svcudp_data * The routines returns NULL if a problem occurred. */ SVCXPRT * -svcudp_bufcreate (sock, sendsz, recvsz) - int sock; - u_int sendsz, recvsz; +svcudp_bufcreate (int sock, u_int sendsz, u_int recvsz) { bool_t madesock = FALSE; SVCXPRT *xprt; |