From 353db307ed9a875799939634c5faf3e682262370 Mon Sep 17 00:00:00 2001 From: Michael Matz Date: Tue, 10 Dec 2019 16:56:10 +0100 Subject: [PATCH] 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. --- tcc.h | 1 - 1 file changed, 1 deletion(-) diff --git a/tcc.h b/tcc.h index 2c3f668f..134ae220 100644 --- a/tcc.h +++ b/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);