summaryrefslogtreecommitdiff
path: root/usr.sbin/amd/rpcx/amq_clnt.c
diff options
context:
space:
mode:
authorPeter Valchev <pvalchev@cvs.openbsd.org>2002-08-03 08:29:33 +0000
committerPeter Valchev <pvalchev@cvs.openbsd.org>2002-08-03 08:29:33 +0000
commit9a50ceafc10893c30ce6a3fa35b0aa0ace4f45a2 (patch)
treed511173eb6b0050f548c64e8438b6fa58294ad90 /usr.sbin/amd/rpcx/amq_clnt.c
parent2424909aa4f4005db0867528ed4ee0ebc3c31bd7 (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.c39
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);
}
-