Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Dec 2013 11:10:32 +0000 (UTC)
From:      Doug Rabson <dfr@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r259941 - stable/9/usr.bin/rpcgen
Message-ID:  <201312271110.rBRBAWLR093382@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dfr
Date: Fri Dec 27 11:10:32 2013
New Revision: 259941
URL: http://svnweb.freebsd.org/changeset/base/259941

Log:
  Back out r259912 - it shouldn't have been committed to this branch.

Modified:
  stable/9/usr.bin/rpcgen/rpc_main.c

Modified: stable/9/usr.bin/rpcgen/rpc_main.c
==============================================================================
--- stable/9/usr.bin/rpcgen/rpc_main.c	Fri Dec 27 08:06:23 2013	(r259940)
+++ stable/9/usr.bin/rpcgen/rpc_main.c	Fri Dec 27 11:10:32 2013	(r259941)
@@ -780,8 +780,6 @@ clnt_output(const char *infile, const ch
 		free(include);
 	} else
 		f_print(fout, "#include <rpc/rpc.h>\n");
-	f_print(fout, "#include <stdio.h>\n");
-	f_print(fout, "#include <stdlib.h>\n");
 	tell = ftell(fout);
 	while ( (def = get_definition()) ) {
 		has_program += write_sample_clnt(def);
@@ -869,10 +867,6 @@ $(TARGETS_SVC.c:%%.c=%%.o) ");
 	f_print(fout, "all : $(CLIENT) $(SERVER)\n\n");
 	f_print(fout, "$(TARGETS) : $(SOURCES.x) \n");
 	f_print(fout, "\trpcgen $(RPCGENFLAGS) $(SOURCES.x)\n\n");
-	if (allfiles) {
-		f_print(fout, "\trpcgen -Sc $(RPCGENFLAGS) $(SOURCES.x) -o %s\n\n", clientname);
-		f_print(fout, "\trpcgen -Ss $(RPCGENFLAGS) $(SOURCES.x) -o %s\n\n", servername);
-	}
 	f_print(fout, "$(OBJECTS_CLNT) : $(SOURCES_CLNT.c) $(SOURCES_CLNT.h) \
 $(TARGETS_CLNT.c) \n\n");
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312271110.rBRBAWLR093382>