summaryrefslogtreecommitdiffstats
path: root/usr.bin/rpcgen/rpc_clntout.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-07-12 19:08:36 +0000
committerjkh <jkh@FreeBSD.org>1996-07-12 19:08:36 +0000
commit730964efd28b80be48ed35a215a362dde2b6b7a7 (patch)
treeb07c215aa55db3fb81db462f4bc70f61cd56c57f /usr.bin/rpcgen/rpc_clntout.c
parentc4d4a99d31762beef936f34571330923e9300da9 (diff)
downloadFreeBSD-src-730964efd28b80be48ed35a215a362dde2b6b7a7.zip
FreeBSD-src-730964efd28b80be48ed35a215a362dde2b6b7a7.tar.gz
General -Wall warning cleanup, part I.
Submitted-By: Kent Vander Velden <graphix@iastate.edu>
Diffstat (limited to 'usr.bin/rpcgen/rpc_clntout.c')
-rw-r--r--usr.bin/rpcgen/rpc_clntout.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/usr.bin/rpcgen/rpc_clntout.c b/usr.bin/rpcgen/rpc_clntout.c
index 9137ce1..e4a9db7 100644
--- a/usr.bin/rpcgen/rpc_clntout.c
+++ b/usr.bin/rpcgen/rpc_clntout.c
@@ -43,10 +43,10 @@ static char sccsid[] = "@(#)rpc_clntout.c 1.11 89/02/22 (C) 1987 SMI";
#include "rpc_parse.h"
#include "rpc_util.h"
-extern int pdeclaration __P(( char *, declaration *, int, char * ));
+extern void pdeclaration __P(( char *, declaration *, int, char * ));
void printarglist __P(( proc_list *, char *, char *, char *));
-static int write_program __P(( definition * ));
-static int printbody __P(( proc_list * ));
+static void write_program __P(( definition * ));
+static void printbody __P(( proc_list * ));
static char RESULT[] = "clnt_res";
@@ -72,7 +72,7 @@ write_stubs()
}
}
-static
+static void
write_program(def)
definition *def;
{
@@ -218,13 +218,12 @@ ampr(type)
}
}
-static
+static void
printbody(proc)
proc_list *proc;
{
decl_list *l;
bool_t args2 = (proc->arg_num > 1);
- int i;
/*
* For new style with multiple arguments, need a structure in which
OpenPOWER on IntegriCloud