summaryrefslogtreecommitdiffstats
path: root/usr.bin/rpcgen
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-07-14 17:55:35 +0000
committeralfred <alfred@FreeBSD.org>2002-07-14 17:55:35 +0000
commitb7f8470fdfa178fefb93ecb7ba7ee667ea16704c (patch)
tree7dc1a1e7eb4231eae09fc2f7230bbf4b14c7ced3 /usr.bin/rpcgen
parentd95d8b89ab353bd4c7a5eef5bb7242dee7ccea22 (diff)
downloadFreeBSD-src-b7f8470fdfa178fefb93ecb7ba7ee667ea16704c.zip
FreeBSD-src-b7f8470fdfa178fefb93ecb7ba7ee667ea16704c.tar.gz
WARNS=2
Diffstat (limited to 'usr.bin/rpcgen')
-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