From b46f7461a3d4e0f8293226f1641c0dcb88314a5f Mon Sep 17 00:00:00 2001 From: Christian Jullien Date: Sat, 8 Feb 2014 08:31:32 +0100 Subject: [PATCH] Fix warning about undeclared __clear_cache function call. --- tccrun.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tccrun.c b/tccrun.c index 55fb3d81..620be0d9 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 -- 2.11.4.GIT