Make ass and int built with clang --- surprisingly easy.

This commit is contained in:
David Given 2018-06-09 21:18:50 +09:00
parent 59b383afd0
commit a12181748b
2 changed files with 3 additions and 3 deletions

View file

@ -21,7 +21,7 @@
*/ */
#define DUMP 1 /* dump between passes */ #define DUMP 1 /* dump between passes */
/* #define TIMING 1 /* some timing measurements */ /* #define TIMING 1 */ /* some timing measurements */
#define JOHAN 1 /* dump the loaded instructions */ #define JOHAN 1 /* dump the loaded instructions */
#define MEMUSE 1 /* print memory usage statistics */ #define MEMUSE 1 /* print memory usage statistics */

View file

@ -154,7 +154,7 @@ copyout() {
if ( fclose(ifile)==EOF ) ; if ( fclose(ifile)==EOF ) ;
} }
dataprocess(f1,f2) FILE *f1,*f2; { void dataprocess(f1,f2) FILE *f1,*f2; {
relc_t datareloc; relc_t datareloc;
FOFFSET i; FOFFSET i;
register ieof ; register ieof ;
@ -200,7 +200,7 @@ dataprocess(f1,f2) FILE *f1,*f2; {
fatal("data relocation botch") ; fatal("data relocation botch") ;
} }
textprocess(f1,f2) FILE *f1,*f2; { void textprocess(f1,f2) FILE *f1,*f2; {
relc_t textreloc; relc_t textreloc;
cons_t n; cons_t n;
FOFFSET i; FOFFSET i;