diff options
| author | grischka <grischka> | 2011-08-11 17:07:56 +0200 |
|---|---|---|
| committer | grischka <grischka> | 2011-08-11 17:07:56 +0200 |
| commit | bf374a5f238360d6a5055d79f53065fa95a26047 (patch) | |
| tree | ed7cdfeab603cc28a9715a3abcd23df550bdca2f /tccrun.c | |
| parent | 74a24d77fd9c08ad9a6b3b6c0f434c7314dae639 (diff) | |
| download | tinycc-bf374a5f238360d6a5055d79f53065fa95a26047.tar.gz tinycc-bf374a5f238360d6a5055d79f53065fa95a26047.tar.bz2 | |
rename error/warning -> tcc_(error/warning)
Diffstat (limited to 'tccrun.c')
| -rw-r--r-- | tccrun.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -58,13 +58,13 @@ LIBTCCAPI int tcc_relocate(TCCState *s1) s1->write_mem = mmap (NULL, ret, PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0); if(s1->write_mem == MAP_FAILED){ - error("/tmp not writeable"); + tcc_error("/tmp not writeable"); return -1; } s1->runtime_mem = mmap (NULL, ret, PROT_READ|PROT_EXEC, MAP_SHARED, fd, 0); if(s1->runtime_mem == MAP_FAILED){ - error("/tmp not executable"); + tcc_error("/tmp not executable"); return -1; } ret = tcc_relocate_ex(s1, s1->write_mem); |
