summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.bin/rpcgen/Makefile1
-rw-r--r--usr.bin/rpcgen/rpc_hout.c3
2 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/rpcgen/Makefile b/usr.bin/rpcgen/Makefile
index 67db97e..d01e863 100644
--- a/usr.bin/rpcgen/Makefile
+++ b/usr.bin/rpcgen/Makefile
@@ -4,6 +4,7 @@ PROG= rpcgen
SRCS= rpc_main.c rpc_clntout.c rpc_cout.c rpc_hout.c rpc_parse.c \
rpc_sample.c rpc_scan.c rpc_svcout.c rpc_tblout.c rpc_util.c
+WARNS?= 2
#
# This is a kludge to work around the fact that this program
# uses 'inline' as a variable name.
diff --git a/usr.bin/rpcgen/rpc_hout.c b/usr.bin/rpcgen/rpc_hout.c
index 4598de6..648a95f 100644
--- a/usr.bin/rpcgen/rpc_hout.c
+++ b/usr.bin/rpcgen/rpc_hout.c
@@ -59,9 +59,6 @@ static void parglist( proc_list *, char * );
static void pprocdef( proc_list *, version_list *, char *, int, int );
void pdeclaration( char *, declaration *, int, char * );
-static char RESULT[] = "clnt_res";
-
-
/*
* Print the C-version of an xdr definition
*/
OpenPOWER on IntegriCloud