summaryrefslogtreecommitdiff
path: root/usr.bin/rpcgen/rpc_clntout.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-07-18 22:26:01 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-07-18 22:26:01 +0000
commit2a73d8edb2be731bc3a885f71bc315e06a3c1598 (patch)
tree95857f8e7acaba4fdb9457173d6a6630b8f11536 /usr.bin/rpcgen/rpc_clntout.c
parentdbf58eafcd9b0edb160c6680606b3907e1b50404 (diff)
Uhmm, nope, this broke everything
Diffstat (limited to 'usr.bin/rpcgen/rpc_clntout.c')
-rw-r--r--usr.bin/rpcgen/rpc_clntout.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/usr.bin/rpcgen/rpc_clntout.c b/usr.bin/rpcgen/rpc_clntout.c
index 6143aa33f60..bedeb643c72 100644
--- a/usr.bin/rpcgen/rpc_clntout.c
+++ b/usr.bin/rpcgen/rpc_clntout.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rpc_clntout.c,v 1.4 2001/07/17 02:23:59 pvalchev Exp $ */
+/* $OpenBSD: rpc_clntout.c,v 1.5 2001/07/18 22:26:00 deraadt Exp $ */
/* $NetBSD: rpc_clntout.c,v 1.4 1995/06/11 21:49:52 pk Exp $ */
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
@@ -44,9 +44,11 @@ static char sccsid[] = "@(#)rpc_clntout.c 1.11 89/02/22 (C) 1987 SMI";
#include "rpc_parse.h"
#include "rpc_util.h"
-static void write_program __P((definition *));
+static write_program __P((definition *));
static void printbody __P((proc_list *));
+extern pdeclaration();
+
#define DEFAULT_TIMEOUT 25 /* in seconds */
static char RESULT[] = "clnt_res";
@@ -69,7 +71,7 @@ write_stubs()
}
}
-static void
+static
write_program(def)
definition *def;
{
@@ -163,6 +165,7 @@ printbody(proc)
{
decl_list *l;
bool_t args2 = (proc->arg_num > 1);
+ int i;
/* For new style with multiple arguments, need a structure in which
to stuff the arguments. */