=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/rpcgen/rpc_clntout.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- src/usr.bin/rpcgen/rpc_clntout.c 2001/07/17 02:23:59 1.4 +++ src/usr.bin/rpcgen/rpc_clntout.c 2001/07/18 22:26:00 1.5 @@ -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 @@ #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 @@ } } -static void +static write_program(def) definition *def; { @@ -163,6 +165,7 @@ { 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. */