diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-08-01 16:57:19 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-08-01 16:57:19 +0000 |
commit | 0eeca97769b6cebb04815c1ff0aacd81abcd2102 (patch) | |
tree | 84ea3c868d18e076a613c19c9654b0550c7f45b4 /cpukit/librpc/include | |
parent | 2008-08-01 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-0eeca97769b6cebb04815c1ff0aacd81abcd2102.tar.bz2 |
Cleanup.
Diffstat (limited to 'cpukit/librpc/include')
-rw-r--r-- | cpukit/librpc/include/rpc/clnt.h | 12 | ||||
-rw-r--r-- | cpukit/librpc/include/rpc/svc.h | 4 |
2 files changed, 8 insertions, 8 deletions
diff --git a/cpukit/librpc/include/rpc/clnt.h b/cpukit/librpc/include/rpc/clnt.h index 554a8a8d8a..53ff2a18da 100644 --- a/cpukit/librpc/include/rpc/clnt.h +++ b/cpukit/librpc/include/rpc/clnt.h @@ -101,21 +101,21 @@ typedef struct __rpc_client { struct clnt_ops { /* call remote procedure */ enum clnt_stat (*cl_call)(struct __rpc_client *, - rpcproc_t, xdrproc_t, void *, xdrproc_t, - void *, struct timeval); + u_long, xdrproc_t, caddr_t, xdrproc_t, + caddr_t, struct timeval); /* abort a call */ - void (*cl_abort)(struct __rpc_client *); + void (*cl_abort)(void); /* get specific error code */ void (*cl_geterr)(struct __rpc_client *, struct rpc_err *); /* frees results */ bool_t (*cl_freeres)(struct __rpc_client *, - xdrproc_t, void *); + xdrproc_t, caddr_t); /* destroy this structure */ void (*cl_destroy)(struct __rpc_client *); /* the ioctl() of rpc */ - bool_t (*cl_control)(struct __rpc_client *, u_int, - void *); + bool_t (*cl_control)(struct __rpc_client *, int, + char *); } *cl_ops; void *cl_private; /* private stuff */ } CLIENT; diff --git a/cpukit/librpc/include/rpc/svc.h b/cpukit/librpc/include/rpc/svc.h index eaf5ec2008..f7c6ebd0e5 100644 --- a/cpukit/librpc/include/rpc/svc.h +++ b/cpukit/librpc/include/rpc/svc.h @@ -84,12 +84,12 @@ typedef struct __rpc_svcxprt { enum xprt_stat (*xp_stat)(struct __rpc_svcxprt *); /* get arguments */ bool_t (*xp_getargs)(struct __rpc_svcxprt *, xdrproc_t, - void *); + caddr_t args_ptr); /* send reply */ bool_t (*xp_reply)(struct __rpc_svcxprt *, struct rpc_msg *); /* free mem allocated for args */ bool_t (*xp_freeargs)(struct __rpc_svcxprt *, xdrproc_t, - void *); + caddr_t args_ptr); /* destroy this struct */ void (*xp_destroy)(struct __rpc_svcxprt *); } *xp_ops; |