svn commit: r184816 - user/dfr/gssapi/6/usr.bin/rpcgen
Doug Rabson
dfr at FreeBSD.org
Mon Nov 10 08:39:31 PST 2008
Author: dfr
Date: Mon Nov 10 16:39:31 2008
New Revision: 184816
URL: http://svn.freebsd.org/changeset/base/184816
Log:
MFC: 181630
Modified:
user/dfr/gssapi/6/usr.bin/rpcgen/ (props changed)
user/dfr/gssapi/6/usr.bin/rpcgen/rpc_svcout.c
Modified: user/dfr/gssapi/6/usr.bin/rpcgen/rpc_svcout.c
==============================================================================
--- user/dfr/gssapi/6/usr.bin/rpcgen/rpc_svcout.c Mon Nov 10 16:38:17 2008 (r184815)
+++ user/dfr/gssapi/6/usr.bin/rpcgen/rpc_svcout.c Mon Nov 10 16:39:31 2008 (r184816)
@@ -483,6 +483,9 @@ write_program(def, storage)
if (mtflag) {
f_print(fout, "\tunion {\n");
for (proc = vp->procs; proc != NULL; proc = proc->next) {
+ if (streq(proc->res_type, "void")) {
+ continue;
+ }
f_print(fout, "\t\t");
ptype(proc->res_prefix, proc->res_type, 0);
pvname(proc->proc_name, vp->vers_num);
More information about the svn-src-user
mailing list