diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-09-10 05:41:29 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-09-10 05:41:29 +0000 |
commit | bfab122be99452c82f796d9746028be0572a3c62 (patch) | |
tree | ae47b063887b029e8921ce2868db98c72ff0a446 /usr.sbin/amd/rpcx/amq_clnt.c | |
parent | eae9c352dc07c4975c93f5dd2ac6c3093e2b95af (diff) |
knf
Diffstat (limited to 'usr.sbin/amd/rpcx/amq_clnt.c')
-rw-r--r-- | usr.sbin/amd/rpcx/amq_clnt.c | 29 |
1 files changed, 19 insertions, 10 deletions
diff --git a/usr.sbin/amd/rpcx/amq_clnt.c b/usr.sbin/amd/rpcx/amq_clnt.c index 9b0746e582d..959d67fc8d6 100644 --- a/usr.sbin/amd/rpcx/amq_clnt.c +++ b/usr.sbin/amd/rpcx/amq_clnt.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * from: @(#)amq_clnt.c 8.1 (Berkeley) 6/6/93 - * $Id: amq_clnt.c,v 1.3 2002/08/05 07:24:26 pvalchev Exp $ + * $Id: amq_clnt.c,v 1.4 2002/09/10 05:41:28 deraadt Exp $ * */ @@ -51,7 +51,8 @@ amqproc_null_1(void *argp, CLIENT *clnt) static char res; bzero((char *)&res, sizeof(res)); - if (clnt_call(clnt, AMQPROC_NULL, xdr_void, argp, xdr_void, &res, TIMEOUT) != RPC_SUCCESS) { + if (clnt_call(clnt, AMQPROC_NULL, xdr_void, argp, xdr_void, + &res, TIMEOUT) != RPC_SUCCESS) { return (NULL); } return ((void *)&res); @@ -64,7 +65,8 @@ amqproc_mnttree_1(amq_string *argp, CLIENT *clnt) static amq_mount_tree_p res; bzero((char *)&res, sizeof(res)); - if (clnt_call(clnt, AMQPROC_MNTTREE, xdr_amq_string, argp, xdr_amq_mount_tree_p, &res, TIMEOUT) != RPC_SUCCESS) { + if (clnt_call(clnt, AMQPROC_MNTTREE, xdr_amq_string, argp, + xdr_amq_mount_tree_p, &res, TIMEOUT) != RPC_SUCCESS) { return (NULL); } return (&res); @@ -77,7 +79,8 @@ amqproc_umnt_1(amq_string *argp, CLIENT *clnt) static char res; bzero((char *)&res, sizeof(res)); - if (clnt_call(clnt, AMQPROC_UMNT, xdr_amq_string, argp, xdr_void, &res, TIMEOUT) != RPC_SUCCESS) { + if (clnt_call(clnt, AMQPROC_UMNT, xdr_amq_string, argp, + xdr_void, &res, TIMEOUT) != RPC_SUCCESS) { return (NULL); } return ((void *)&res); @@ -90,7 +93,8 @@ amqproc_stats_1(void *argp, CLIENT *clnt) static amq_mount_stats res; bzero((char *)&res, sizeof(res)); - if (clnt_call(clnt, AMQPROC_STATS, xdr_void, argp, xdr_amq_mount_stats, &res, TIMEOUT) != RPC_SUCCESS) { + if (clnt_call(clnt, AMQPROC_STATS, xdr_void, argp, + xdr_amq_mount_stats, &res, TIMEOUT) != RPC_SUCCESS) { return (NULL); } return (&res); @@ -103,7 +107,8 @@ amqproc_export_1(void *argp, CLIENT *clnt) static amq_mount_tree_list res; bzero((char *)&res, sizeof(res)); - if (clnt_call(clnt, AMQPROC_EXPORT, xdr_void, argp, xdr_amq_mount_tree_list, &res, TIMEOUT) != RPC_SUCCESS) { + if (clnt_call(clnt, AMQPROC_EXPORT, xdr_void, argp, + xdr_amq_mount_tree_list, &res, TIMEOUT) != RPC_SUCCESS) { return (NULL); } return (&res); @@ -115,7 +120,8 @@ amqproc_setopt_1(amq_setopt *argp, CLIENT *clnt) static int res; bzero((char *)&res, sizeof(res)); - if (clnt_call(clnt, AMQPROC_SETOPT, xdr_amq_setopt, argp, xdr_int, &res, TIMEOUT) != RPC_SUCCESS) { + if (clnt_call(clnt, AMQPROC_SETOPT, xdr_amq_setopt, argp, + xdr_int, &res, TIMEOUT) != RPC_SUCCESS) { return (NULL); } return (&res); @@ -128,7 +134,8 @@ amqproc_getmntfs_1(void *argp, CLIENT *clnt) static amq_mount_info_list res; bzero((char *)&res, sizeof(res)); - if (clnt_call(clnt, AMQPROC_GETMNTFS, xdr_void, argp, xdr_amq_mount_info_list, &res, TIMEOUT) != RPC_SUCCESS) { + if (clnt_call(clnt, AMQPROC_GETMNTFS, xdr_void, argp, + xdr_amq_mount_info_list, &res, TIMEOUT) != RPC_SUCCESS) { return (NULL); } return (&res); @@ -141,7 +148,8 @@ amqproc_mount_1(void *argp, CLIENT *clnt) static int res; bzero((char *)&res, sizeof(res)); - if (clnt_call(clnt, AMQPROC_MOUNT, xdr_amq_string, argp, xdr_int, &res, TIMEOUT) != RPC_SUCCESS) { + if (clnt_call(clnt, AMQPROC_MOUNT, xdr_amq_string, argp, + xdr_int, &res, TIMEOUT) != RPC_SUCCESS) { return (NULL); } return (&res); @@ -154,7 +162,8 @@ amqproc_getvers_1(void *argp, CLIENT *clnt) static amq_string res; bzero((char *)&res, sizeof(res)); - if (clnt_call(clnt, AMQPROC_GETVERS, xdr_void, argp, xdr_amq_string, &res, TIMEOUT) != RPC_SUCCESS) { + if (clnt_call(clnt, AMQPROC_GETVERS, xdr_void, argp, + xdr_amq_string, &res, TIMEOUT) != RPC_SUCCESS) { return (NULL); } return (&res); |