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/clnt_tcp.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/clnt_tcp.c')
-rw-r--r-- | libc/inet/rpc/clnt_tcp.c | 22 |
1 files changed, 6 insertions, 16 deletions
diff --git a/libc/inet/rpc/clnt_tcp.c b/libc/inet/rpc/clnt_tcp.c index 26abc3e17..d01fc80d5 100644 --- a/libc/inet/rpc/clnt_tcp.c +++ b/libc/inet/rpc/clnt_tcp.c @@ -237,14 +237,9 @@ fooy: libc_hidden_def(clnttcp_create) static enum clnt_stat -clnttcp_call (h, proc, xdr_args, args_ptr, xdr_results, results_ptr, timeout) - CLIENT *h; - u_long proc; - xdrproc_t xdr_args; - caddr_t args_ptr; - xdrproc_t xdr_results; - caddr_t results_ptr; - struct timeval timeout; +clnttcp_call (CLIENT *h, u_long proc, xdrproc_t xdr_args, caddr_t args_ptr, + xdrproc_t xdr_results, caddr_t results_ptr, + struct timeval timeout) { struct ct_data *ct = (struct ct_data *) h->cl_private; XDR *xdrs = &(ct->ct_xdrs); @@ -345,9 +340,7 @@ call_again: } static void -clnttcp_geterr (h, errp) - CLIENT *h; - struct rpc_err *errp; +clnttcp_geterr (CLIENT *h, struct rpc_err *errp) { struct ct_data *ct = (struct ct_data *) h->cl_private; @@ -356,10 +349,7 @@ clnttcp_geterr (h, errp) } static bool_t -clnttcp_freeres (cl, xdr_res, res_ptr) - CLIENT *cl; - xdrproc_t xdr_res; - caddr_t res_ptr; +clnttcp_freeres (CLIENT *cl, xdrproc_t xdr_res, caddr_t res_ptr) { struct ct_data *ct = (struct ct_data *) cl->cl_private; XDR *xdrs = &(ct->ct_xdrs); @@ -369,7 +359,7 @@ clnttcp_freeres (cl, xdr_res, res_ptr) } static void -clnttcp_abort () +clnttcp_abort (void) { } |