diff options
| author | Jean-Claude Beaudoin <jean.claude.beaudoin@gmail.com> | 2016-09-25 22:32:41 -0400 |
|---|---|---|
| committer | Jean-Claude Beaudoin <jean.claude.beaudoin@gmail.com> | 2016-09-25 22:32:41 -0400 |
| commit | ff158bffe6f7ddc2b727069daa238b396c318e14 (patch) | |
| tree | 444eacffe5d11c0ee78e7ea8de349005891cb655 /tccelf.c | |
| parent | e38f49e32acfbf2217e65c51a1520eb90ad5ba71 (diff) | |
| download | tinycc-ff158bffe6f7ddc2b727069daa238b396c318e14.tar.gz tinycc-ff158bffe6f7ddc2b727069daa238b396c318e14.tar.bz2 | |
Rein in unintended external functions.
Diffstat (limited to 'tccelf.c')
| -rw-r--r-- | tccelf.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1729,7 +1729,7 @@ static void tcc_output_binary(TCCState *s1, FILE *f, #define EXTRA_RELITEMS 14 /* move the relocation value from .dynsym to .got */ -void patch_dynsym_undef(TCCState *s1, Section *s) +static void patch_dynsym_undef(TCCState *s1, Section *s) { uint32_t *gotd = (void *)s1->got->data; ElfW(Sym) *sym; @@ -1748,7 +1748,7 @@ void patch_dynsym_undef(TCCState *s1, Section *s) #define EXTRA_RELITEMS 9 /* zero plt offsets of weak symbols in .dynsym */ -void patch_dynsym_undef(TCCState *s1, Section *s) +static void patch_dynsym_undef(TCCState *s1, Section *s) { ElfW(Sym) *sym; |
