mirror of
https://github.com/mirror/tinycc.git
synced 2025-01-29 06:10:09 +08:00
Fix compile warning with cross compilers
'make i386-tcc' on a x86-64 host gave a warning about the unconditionally declared static tcc_add_bcheck function.
This commit is contained in:
parent
88dd577302
commit
353db307ed
1
tcc.h
1
tcc.h
@ -1473,7 +1473,6 @@ ST_FUNC void relocate_section(TCCState *s1, Section *s);
|
||||
ST_FUNC int tcc_object_type(int fd, ElfW(Ehdr) *h);
|
||||
ST_FUNC int tcc_load_object_file(TCCState *s1, int fd, unsigned long file_offset);
|
||||
ST_FUNC int tcc_load_archive(TCCState *s1, int fd, int alacarte);
|
||||
ST_FUNC void tcc_add_bcheck(TCCState *s1);
|
||||
ST_FUNC void tcc_add_runtime(TCCState *s1);
|
||||
|
||||
ST_FUNC void build_got_entries(TCCState *s1);
|
||||
|
Loading…
Reference in New Issue
Block a user