open_input(infile, define); outfilename = extend ? extendfile(infile, outfile) : outfile; open_output(infile, outfilename); add_warning(); while ((def = get_definition())!=NULL) { foundprogram |= (def->def_kind == DEF_PROGRAM); } if (extend && !foundprogram) { (void) unlink(outfilename); return; } write_tables();
open_input (infile, define); outfilename = extend ? extendfile (infile, outfile) : outfile; open_output (infile, outfilename); add_warning (); while ((def = get_definition ()) != NULL) { foundprogram |= (def->def_kind == DEF_PROGRAM); } if (extend && !foundprogram) { unlink (outfilename); return; } write_tables ();
t_output(const char *infile, const char *define, int extend,	 const char *outfile){	definition *def;	int foundprogram = 0;	const char *outfilename;	open_input(infile, define);	outfilename = extend ? extendfile(infile, outfile) : outfile;	open_output(infile, outfilename);	add_warning();	while ((def = get_definition())!=NULL) {		foundprogram |= (def->def_kind == DEF_PROGRAM);	}	if (extend && !foundprogram) {		(void) unlink(outfilename);		return;	}	write_tables();}