diff options
Diffstat (limited to 'rpc/block_clnt.c')
-rw-r--r-- | rpc/block_clnt.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/rpc/block_clnt.c b/rpc/block_clnt.c index 2e96709..4c10231 100644 --- a/rpc/block_clnt.c +++ b/rpc/block_clnt.c @@ -98,18 +98,3 @@ block_delete_1(blockDelete *argp, CLIENT *clnt) } return (&clnt_res); } - -blockResponse * -block_exec_1(char **argp, CLIENT *clnt) -{ - static blockResponse clnt_res; - - memset((char *)&clnt_res, 0, sizeof(clnt_res)); - if (clnt_call (clnt, BLOCK_EXEC, - (xdrproc_t) xdr_wrapstring, (caddr_t) argp, - (xdrproc_t) xdr_blockResponse, (caddr_t) &clnt_res, - TIMEOUT) != RPC_SUCCESS) { - return (NULL); - } - return (&clnt_res); -} |