aboutsummaryrefslogtreecommitdiff
path: root/tcc.h
diff options
context:
space:
mode:
authorgrischka <grischka>2011-08-06 16:08:46 +0200
committergrischka <grischka>2011-08-06 16:11:58 +0200
commite6f3bf7f08e4ca32e66db906a7bb2ccefdc7a54d (patch)
tree63b56135f2936427c08645fd2718addb57843934 /tcc.h
parent39a07cca58f5f4bd9b84827f2ad39bb1fa74fcc5 (diff)
downloadtinycc-e6f3bf7f08e4ca32e66db906a7bb2ccefdc7a54d.tar.gz
tinycc-e6f3bf7f08e4ca32e66db906a7bb2ccefdc7a54d.tar.bz2
libtcc: cleanup the 'gen_makedeps' stuff
Diffstat (limited to 'tcc.h')
-rw-r--r--tcc.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/tcc.h b/tcc.h
index 94afba4..70d0031 100644
--- a/tcc.h
+++ b/tcc.h
@@ -580,12 +580,6 @@ struct TCCState {
/* output file for preprocessing */
FILE *outfile;
- /* input files and libraries for this compilation */
- char **input_files;
- int nb_input_files;
- char **input_libs;
- int nb_input_libs;
-
/* automatically collected dependencies for this compilation */
char **target_deps;
int nb_target_deps;
@@ -1023,6 +1017,9 @@ 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);
PUB_FUNC void set_num_callers(int n);
+PUB_FUNC char *tcc_default_target(TCCState *s, const char *default_file);
+PUB_FUNC void tcc_gen_makedeps(TCCState *s, const char *target, const char *filename);
+
/* ------------ tccpp.c ------------ */
ST_DATA struct BufferedFile *file;