From 88a3ccab9f3c877e2ffb8fecc3303006e0640907 Mon Sep 17 00:00:00 2001 From: grischka Date: Sun, 20 Dec 2009 01:53:49 +0100 Subject: allow tcc be build from separate objects If you want that, run: make NOTALLINONE=1 --- tcccoff.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tcccoff.c') diff --git a/tcccoff.c b/tcccoff.c index 0dcbe50..0ab9ace 100644 --- a/tcccoff.c +++ b/tcccoff.c @@ -18,6 +18,8 @@ * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ + +#include "tcc.h" #include "coff.h" #define MAXNSCNS 255 /* MAXIMUM NUMBER OF SECTIONS */ @@ -73,7 +75,7 @@ typedef struct { unsigned short dummy4; } AUXEF; -int tcc_output_coff(TCCState *s1, FILE *f) +ST_FUNC int tcc_output_coff(TCCState *s1, FILE *f) { Section *tcc_sect; SCNHDR *coff_sec; -- cgit v1.3.1