aboutsummaryrefslogtreecommitdiff
path: root/tccrun.c
diff options
context:
space:
mode:
authorChristian Jullien <jullien@sims.eligis.com>2014-02-08 08:31:32 +0100
committerChristian Jullien <jullien@sims.eligis.com>2014-02-08 08:31:32 +0100
commitb46f7461a3d4e0f8293226f1641c0dcb88314a5f (patch)
tree07fd117ee3655491ba4c3aab60f7d78497910526 /tccrun.c
parentd0dae7f2416574bd61df51e6389c2224c685ded9 (diff)
downloadtinycc-b46f7461a3d4e0f8293226f1641c0dcb88314a5f.tar.gz
tinycc-b46f7461a3d4e0f8293226f1641c0dcb88314a5f.tar.bz2
Fix warning about undeclared __clear_cache function call.
Diffstat (limited to 'tccrun.c')
-rw-r--r--tccrun.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tccrun.c b/tccrun.c
index 55fb3d8..620be0d 100644
--- a/tccrun.c
+++ b/tccrun.c
@@ -234,6 +234,7 @@ static void set_pages_executable(void *ptr, unsigned long length)
unsigned long old_protect;
VirtualProtect(ptr, length, PAGE_EXECUTE_READWRITE, &old_protect);
#else
+ extern void __clear_cache(char *beginning, char *end);
#ifndef PAGESIZE
# define PAGESIZE 4096
#endif