diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2005-01-09 17:12:03 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2005-01-09 17:12:03 +0000 |
commit | 77b6a109132b9f68cb030fbb4ba79253f3530d03 (patch) | |
tree | 27f135c67a4e3f73db972078994b190a0e1dc0b3 /cpukit/librpc/include/rpc | |
parent | 2005-01-09 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-77b6a109132b9f68cb030fbb4ba79253f3530d03.tar.bz2 |
2005-01-09 Joel Sherrill <joel@oarcorp.com>
* librpc/include/rpc/clnt.h, librpc/src/rpc/authunix_prot.c,
librpc/src/rpc/clnt_tcp.c, librpc/src/rpc/pmap_prot2.c,
librpc/src/rpc/pmap_rmt.c, librpc/src/rpc/rtems_portmapper.c,
librpc/src/rpc/svc_simple.c: Fix warnings.
Diffstat (limited to 'cpukit/librpc/include/rpc')
-rw-r--r-- | cpukit/librpc/include/rpc/clnt.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/cpukit/librpc/include/rpc/clnt.h b/cpukit/librpc/include/rpc/clnt.h index dc0f12d25c..0ecce4b38e 100644 --- a/cpukit/librpc/include/rpc/clnt.h +++ b/cpukit/librpc/include/rpc/clnt.h @@ -159,11 +159,11 @@ typedef struct __rpc_client { * struct timeval timeout; */ #define CLNT_CALL(rh, proc, xargs, argsp, xres, resp, secs) \ - ((*(rh)->cl_ops->cl_call)(rh, proc, xargs, (caddr_t)argsp, \ - xres, (caddr_t)resp, secs)) + ((*(rh)->cl_ops->cl_call)(rh, proc, (xdrproc_t)xargs, (caddr_t)argsp, \ + (xdrproc_t) xres, (caddr_t)resp, secs)) #define clnt_call(rh, proc, xargs, argsp, xres, resp, secs) \ - ((*(rh)->cl_ops->cl_call)(rh, proc, xargs, (caddr_t)argsp, \ - xres, (caddr_t)resp, secs)) + ((*(rh)->cl_ops->cl_call)(rh, proc, (xdrproc_t) xargs, (caddr_t)argsp, \ + (xdrproc_t) xres, (caddr_t)resp, secs)) /* * void @@ -189,8 +189,8 @@ typedef struct __rpc_client { * xdrproc_t xres; * caddr_t resp; */ -#define CLNT_FREERES(rh,xres,resp) ((*(rh)->cl_ops->cl_freeres)(rh,xres,resp)) -#define clnt_freeres(rh,xres,resp) ((*(rh)->cl_ops->cl_freeres)(rh,xres,resp)) +#define CLNT_FREERES(rh,xres,resp) ((*(rh)->cl_ops->cl_freeres)(rh,(xdrproc_t)xres,resp)) +#define clnt_freeres(rh,xres,resp) ((*(rh)->cl_ops->cl_freeres)(rh,(xdrproc_t)xres,resp)) /* * bool_t |