diff options
Diffstat (limited to 'freebsd/lib/libc/rpc/pmap_getport.c')
-rw-r--r-- | freebsd/lib/libc/rpc/pmap_getport.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/freebsd/lib/libc/rpc/pmap_getport.c b/freebsd/lib/libc/rpc/pmap_getport.c index 7b6c4818..0ddfb68c 100644 --- a/freebsd/lib/libc/rpc/pmap_getport.c +++ b/freebsd/lib/libc/rpc/pmap_getport.c @@ -68,11 +68,8 @@ static const struct timeval tottimeout = { 60, 0 }; * Returns 0 if no map exists. */ u_short -pmap_getport(address, program, version, protocol) - struct sockaddr_in *address; - u_long program; - u_long version; - u_int protocol; +pmap_getport(struct sockaddr_in *address, u_long program, u_long version, + u_int protocol) { u_short port = 0; int sock = -1; |