diff options
author | Carmelo Amoroso <carmelo.amoroso@st.com> | 2010-04-25 10:14:48 +0200 |
---|---|---|
committer | Carmelo Amoroso <carmelo.amoroso@st.com> | 2010-04-25 10:14:48 +0200 |
commit | f71bcf0f42bf6926477cc3e3faa006cf74e59c45 (patch) | |
tree | ae05a12267d2bfa4c9384bfd0cd43d2659740a92 /libc/inet/rpc/pm_getport.c | |
parent | cce1105f017744ad2d6b7b86d8a3160637bebea1 (diff) |
libc: Remove compiler warning due to old-style function definition
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'libc/inet/rpc/pm_getport.c')
-rw-r--r-- | libc/inet/rpc/pm_getport.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/libc/inet/rpc/pm_getport.c b/libc/inet/rpc/pm_getport.c index 712ba2a8e..8a4276127 100644 --- a/libc/inet/rpc/pm_getport.c +++ b/libc/inet/rpc/pm_getport.c @@ -56,11 +56,8 @@ static const struct timeval tottimeout = * 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 _socket = -1; |