f_print(fout,"#endif /* Old Style C */ \n");
pfreeprocdef (def->def_name, vers->vers_num, i); } f_print (fout, "#endif /* K&R C */\n");
pprogramdef(definition *def){	version_list *vers;	proc_list *proc;	int i;	const char *ext;		pargdef(def);	puldefine(def->def_name, def->def.pr.prog_num);	for (vers = def->def.pr.versions; vers != NULL; vers = vers->next) {		if (tblflag) {			f_print(fout, "extern struct rpcgen_table %s_%s_table[];\n",				locase(def->def_name), vers->vers_num);			f_print(fout, "extern %s_%s_nproc;\n",				locase(def->def_name), vers->vers_num);		}		puldefine(vers->vers_name, vers->vers_num);		/* 		 * Print out 3 definitions, one for ANSI-C, another for C++, 		 * a third for old style C 		 */		   		for (i=0;i<3;i++) {			if (i==0) {				f_print(fout,"\n#ifdef __cplusplus\n");				ext="extern \"C\" ";			} 			else if (i==1) {				f_print(fout,"\n#elif __STDC__\n");				ext="extern  "  ;			} 			else {				f_print(fout,"\n#else /* Old Style C */ \n");				ext="extern  ";			}									for (proc = vers->procs; proc != NULL; proc = proc->next) {				if (!define_printed(proc, def->def.pr.versions)) {					puldefine(proc->proc_name, proc->proc_num);				}				f_print(fout,"%s",ext);				pprocdef(proc, vers, "CLIENT *", 0,i);				f_print(fout,"%s",ext);				pprocdef(proc, vers, "struct svc_req *", 1,i);							}		}		f_print(fout,"#endif /* Old Style C */ \n");	}}