From a12181748bd863de66f1234cb4494a85d9e126ae Mon Sep 17 00:00:00 2001 From: David Given Date: Sat, 9 Jun 2018 21:18:50 +0900 Subject: [PATCH] Make ass and int built with clang --- surprisingly easy. --- util/ass/ass00.h | 2 +- util/ass/assrl.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/util/ass/ass00.h b/util/ass/ass00.h index 7b31d89ff..42bd5b01c 100644 --- a/util/ass/ass00.h +++ b/util/ass/ass00.h @@ -21,7 +21,7 @@ */ #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 MEMUSE 1 /* print memory usage statistics */ diff --git a/util/ass/assrl.c b/util/ass/assrl.c index 3fbfdc14d..2795c2793 100644 --- a/util/ass/assrl.c +++ b/util/ass/assrl.c @@ -154,7 +154,7 @@ copyout() { if ( fclose(ifile)==EOF ) ; } -dataprocess(f1,f2) FILE *f1,*f2; { +void dataprocess(f1,f2) FILE *f1,*f2; { relc_t datareloc; FOFFSET i; register ieof ; @@ -200,7 +200,7 @@ dataprocess(f1,f2) FILE *f1,*f2; { fatal("data relocation botch") ; } -textprocess(f1,f2) FILE *f1,*f2; { +void textprocess(f1,f2) FILE *f1,*f2; { relc_t textreloc; cons_t n; FOFFSET i;