diff options
author | Peter Valchev <pvalchev@cvs.openbsd.org> | 2002-08-03 08:29:33 +0000 |
---|---|---|
committer | Peter Valchev <pvalchev@cvs.openbsd.org> | 2002-08-03 08:29:33 +0000 |
commit | 9a50ceafc10893c30ce6a3fa35b0aa0ace4f45a2 (patch) | |
tree | d511173eb6b0050f548c64e8438b6fa58294ad90 /usr.sbin/amd/rpcx/amq_clnt.c | |
parent | 2424909aa4f4005db0867528ed4ee0ebc3c31bd7 (diff) |
various KNF and code cleanup/simplification, parts checked by millert/deraadt
Diffstat (limited to 'usr.sbin/amd/rpcx/amq_clnt.c')
-rw-r--r-- | usr.sbin/amd/rpcx/amq_clnt.c | 39 |
1 files changed, 10 insertions, 29 deletions
diff --git a/usr.sbin/amd/rpcx/amq_clnt.c b/usr.sbin/amd/rpcx/amq_clnt.c index 91c85022f08..2e20f642d30 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.1 1995/10/18 08:47:22 deraadt Exp $ + * $Id: amq_clnt.c,v 1.2 2002/08/03 08:29:32 pvalchev Exp $ * */ @@ -46,9 +46,7 @@ static struct timeval TIMEOUT = { ALLOWED_MOUNT_TIME, 0 }; voidp -amqproc_null_1(argp, clnt) - voidp argp; - CLIENT *clnt; +amqproc_null_1(voidp argp, CLIENT *clnt) { static char res; @@ -61,9 +59,7 @@ amqproc_null_1(argp, clnt) amq_mount_tree_p * -amqproc_mnttree_1(argp, clnt) - amq_string *argp; - CLIENT *clnt; +amqproc_mnttree_1(amq_string *argp, CLIENT *clnt) { static amq_mount_tree_p res; @@ -76,9 +72,7 @@ amqproc_mnttree_1(argp, clnt) voidp -amqproc_umnt_1(argp, clnt) - amq_string *argp; - CLIENT *clnt; +amqproc_umnt_1(amq_string *argp, CLIENT *clnt) { static char res; @@ -91,9 +85,7 @@ amqproc_umnt_1(argp, clnt) amq_mount_stats * -amqproc_stats_1(argp, clnt) - voidp argp; - CLIENT *clnt; +amqproc_stats_1(voidp argp, CLIENT *clnt) { static amq_mount_stats res; @@ -106,9 +98,7 @@ amqproc_stats_1(argp, clnt) amq_mount_tree_list * -amqproc_export_1(argp, clnt) - voidp argp; - CLIENT *clnt; +amqproc_export_1(voidp argp, CLIENT *clnt) { static amq_mount_tree_list res; @@ -120,9 +110,7 @@ amqproc_export_1(argp, clnt) } int * -amqproc_setopt_1(argp, clnt) - amq_setopt *argp; - CLIENT *clnt; +amqproc_setopt_1(amq_setopt *argp, CLIENT *clnt) { static int res; @@ -135,9 +123,7 @@ amqproc_setopt_1(argp, clnt) amq_mount_info_list * -amqproc_getmntfs_1(argp, clnt) - voidp argp; - CLIENT *clnt; +amqproc_getmntfs_1(voidp argp, CLIENT *clnt) { static amq_mount_info_list res; @@ -150,9 +136,7 @@ amqproc_getmntfs_1(argp, clnt) int * -amqproc_mount_1(argp, clnt) - voidp argp; - CLIENT *clnt; +amqproc_mount_1(voidp argp, CLIENT *clnt) { static int res; @@ -165,9 +149,7 @@ amqproc_mount_1(argp, clnt) amq_string * -amqproc_getvers_1(argp, clnt) - voidp argp; - CLIENT *clnt; +amqproc_getvers_1(voidp argp, CLIENT *clnt) { static amq_string res; @@ -177,4 +159,3 @@ amqproc_getvers_1(argp, clnt) } return (&res); } - |