From acac35c12597eb678c4a0866f79a6aeb9171dd09 Mon Sep 17 00:00:00 2001 From: grischka Date: Sat, 1 Oct 2016 20:46:16 +0200 Subject: libtcc: filetype cleanup - does not change signature of tcc_add_file --- libtcc.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'libtcc.h') diff --git a/libtcc.h b/libtcc.h index ad081fc..799ffd8 100644 --- a/libtcc.h +++ b/libtcc.h @@ -48,11 +48,7 @@ LIBTCCAPI void tcc_undefine_symbol(TCCState *s, const char *sym); /* compiling */ /* add a file (C file, dll, object, library, ld script). Return -1 if error. */ -LIBTCCAPI int tcc_add_file(TCCState *s, const char *filename, int filetype); -#define TCC_FILETYPE_BINARY 'b' -#define TCC_FILETYPE_C 'c' -#define TCC_FILETYPE_ASM 's' -#define TCC_FILETYPE_ASM_PP 'S' +LIBTCCAPI int tcc_add_file(TCCState *s, const char *filename); /* compile a string containing a C source. Return -1 if error. */ LIBTCCAPI int tcc_compile_string(TCCState *s, const char *buf); -- cgit v1.3.1