aboutsummaryrefslogtreecommitdiff
path: root/tcc.h
diff options
context:
space:
mode:
authorThomas Preud'homme <thomas.preudhomme@celest.fr>2010-04-20 15:49:34 +0200
committerThomas Preud'homme <thomas.preudhomme@celest.fr>2010-04-20 16:02:42 +0200
commit3ad3168125ecb1910e6e241dc9056bccb57e9d0a (patch)
tree6f14b562c3afdca305ed034cbffa35c50585191f /tcc.h
parent809f48966258376b41a9ed642bcf0806739aa1f2 (diff)
downloadtinycc-3ad3168125ecb1910e6e241dc9056bccb57e9d0a.tar.gz
tinycc-3ad3168125ecb1910e6e241dc9056bccb57e9d0a.tar.bz2
Clean changes introduced by 47abdbd
* Replace the save/load_buffer_state by a dynarray approach: - Filename and libname are added to a dynarray when first encountered - Load repeatedly the files in the dynarray until no new undefined symbol are encountered * Replace snprintf by sprintf in libname_to_filename * Use tcc_fileextension in filename_to_libname * Introduce a tcc_strcpy_part fonction to copy only a subset of a string * Move new_undef_syms declaration from tcc.h to tccelf.c
Diffstat (limited to 'tcc.h')
-rw-r--r--tcc.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/tcc.h b/tcc.h
index 13cf314..66ac779 100644
--- a/tcc.h
+++ b/tcc.h
@@ -225,8 +225,6 @@ typedef struct Sym {
struct Sym *prev_tok; /* previous symbol for this token */
} Sym;
-static int new_undef_sym = 0; /* Is there a new undefined sym since last new_undef_sym() */
-
/* section definition */
/* XXX: use directly ELF structure for parameters ? */
/* special flag to indicate that the section should not be linked to