aboutsummaryrefslogtreecommitdiff
path: root/tcc.h
diff options
context:
space:
mode:
authorSergei Trofimovich <st@anti-virus.by>2010-04-19 11:46:36 +0300
committerSergei Trofimovich <st@anti-virus.by>2010-04-19 11:46:36 +0300
commit83b0bd3095ac755a79aa1314424f9dc6a01bd0ff (patch)
tree7e798d41a2397df0d500eee633902af47edd8a46 /tcc.h
parente4ed4e7f4f6659c35d5e84b03451a4f135caff0c (diff)
downloadtinycc-83b0bd3095ac755a79aa1314424f9dc6a01bd0ff.tar.gz
tinycc-83b0bd3095ac755a79aa1314424f9dc6a01bd0ff.tar.bz2
libtcc.c: fix compilation failure (inconsistent tcc_add_file_internal)
gcc -o libtcc1.o -c lib/libtcc1.c -O2 -Wall libtcc.c: At top level: libtcc.c:1063: error: static declaration of 'tcc_add_file_internal' follows non-static declaration tccelf.c:2915: note: previous implicit declaration of 'tcc_add_file_internal' was here Signed-off-by: Sergei Trofimovich <st@anti-virus.by>
Diffstat (limited to 'tcc.h')
-rw-r--r--tcc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tcc.h b/tcc.h
index b59f61a..13cf314 100644
--- a/tcc.h
+++ b/tcc.h
@@ -926,6 +926,7 @@ ST_FUNC Sym *global_identifier_push(int v, int t, int c);
ST_FUNC BufferedFile *tcc_open(TCCState *s1, const char *filename);
ST_FUNC void tcc_close(BufferedFile *bf);
+ST_FUNC int tcc_add_file_internal(TCCState *s1, const char *filename, int flags);
ST_FUNC int tcc_add_dll(TCCState *s, const char *filename, int flags);
PUB_FUNC int tcc_set_flag(TCCState *s, const char *flag_name, int value);
PUB_FUNC void tcc_print_stats(TCCState *s, int64_t total_time);