From f71bcf0f42bf6926477cc3e3faa006cf74e59c45 Mon Sep 17 00:00:00 2001 From: Carmelo Amoroso Date: Sun, 25 Apr 2010 10:14:48 +0200 Subject: libc: Remove compiler warning due to old-style function definition Signed-off-by: Carmelo Amoroso --- libc/inet/rpc/clnt_unix.c | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) (limited to 'libc/inet/rpc/clnt_unix.c') diff --git a/libc/inet/rpc/clnt_unix.c b/libc/inet/rpc/clnt_unix.c index f66ce66e2..c7756f700 100644 --- a/libc/inet/rpc/clnt_unix.c +++ b/libc/inet/rpc/clnt_unix.c @@ -216,14 +216,9 @@ fooy: libc_hidden_def(clntunix_create) static enum clnt_stat -clntunix_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; +clntunix_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); @@ -330,10 +325,7 @@ clntunix_geterr (CLIENT *h, struct rpc_err *errp) } static bool_t -clntunix_freeres (cl, xdr_res, res_ptr) - CLIENT *cl; - xdrproc_t xdr_res; - caddr_t res_ptr; +clntunix_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); @@ -343,7 +335,7 @@ clntunix_freeres (cl, xdr_res, res_ptr) } static void -clntunix_abort () +clntunix_abort (void) { } -- cgit v1.2.3