Sun defines tmpfile in stdio.h. Renamed Tmpfile

This commit is contained in:
ceriel
1987-03-02 09:06:26 +00:00
parent 2eb21881a8
commit c42d52b38d
6 changed files with 50 additions and 50 deletions

View File

@@ -8,7 +8,7 @@ static char rcs_id[] = "$Header$" ;
/* generate temporary files etc */
FILE *emfile;
FILE *tmpfile;
FILE *Tmpfile;
FILE *datfile;
initialize()
@@ -35,8 +35,8 @@ initialize()
strcat(datfname,".d");
yyin= fopen(inpfile,"r");
emfile= fopen(outfile,"w");
tmpfile= fopen(tmpfname,"w");
if( yyin==NULL || emfile== NULL || tmpfile== NULL )
Tmpfile= fopen(tmpfname,"w");
if( yyin==NULL || emfile== NULL || Tmpfile== NULL )
fatal("Improper file permissions");
fillkex(); /* initialize symbol table */
fprintf(emfile,"#\n");