fix to allow build tcc by build-tcc.bat
move call to print_defines() from tcc.c to the libtcc.c
define a print_defines() as a ST_FUNC
This commit is contained in:
2
tcc.h
2
tcc.h
@ -1160,7 +1160,7 @@ ST_INLN void define_push(int v, int macro_type, int *str, Sym *first_arg);
|
||||
ST_FUNC void define_undef(Sym *s);
|
||||
ST_INLN Sym *define_find(int v);
|
||||
ST_FUNC void free_defines(Sym *b);
|
||||
void print_defines(void);
|
||||
ST_FUNC void print_defines(void);
|
||||
ST_FUNC Sym *label_find(int v);
|
||||
ST_FUNC Sym *label_push(Sym **ptop, int v, int flags);
|
||||
ST_FUNC void label_pop(Sym **ptop, Sym *slast);
|
||||
|
||||
Reference in New Issue
Block a user