MFC r267174:

Fix some rpcgen sample file issues.

PR:	185582
This commit is contained in:
Bryan Drewery 2014-06-13 15:04:21 +00:00
parent 691fed32d5
commit 9872e5a23b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/stable/10/; revision=267444
2 changed files with 3 additions and 2 deletions

View File

@ -872,8 +872,8 @@ $(TARGETS_SVC.c) \n\n");
f_print(fout, "\t$(CC) -o $(CLIENT) $(OBJECTS_CLNT) \
$(LDLIBS) \n\n");
f_print(fout, "$(SERVER) : $(OBJECTS_SVC) \n");
f_print(fout, "\t$(CC) -o $(SERVER) $(OBJECTS_SVC) $(LDLIBS)\n\n ");
f_print(fout, "clean:\n\t $(RM) -f core $(TARGETS) $(OBJECTS_CLNT) \
f_print(fout, "\t$(CC) -o $(SERVER) $(OBJECTS_SVC) $(LDLIBS)\n\n");
f_print(fout, "clean:\n\t rm -f core $(TARGETS) $(OBJECTS_CLNT) \
$(OBJECTS_SVC) $(CLIENT) $(SERVER)\n\n");
}

View File

@ -270,6 +270,7 @@ write_sample_clnt_main(void)
version_list *vp;
f_print(fout, "\n\n");
f_print(fout, "int\n");
f_print(fout, "main(int argc, char *argv[])\n{\n");
f_print(fout, "\tchar *host;");