X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fvalidate.c;h=d9016258a4b3fb41a6ac65be0cef5f25d493b5eb;hb=3dd90b64c37103d9c86d32b6c36277a6cea4098a;hp=dd1dfd78b9646325ab00e7b0b77fcfc867d09655;hpb=8e9908b6f79b7bb52a281cfcbf0712d4b914f3cf;p=sbcl.git diff --git a/src/runtime/validate.c b/src/runtime/validate.c index dd1dfd7..d901625 100644 --- a/src/runtime/validate.c +++ b/src/runtime/validate.c @@ -22,6 +22,8 @@ #include "globals.h" #include "interr.h" #include "validate.h" +#include "interr.h" /* for declaration of lose */ + static void ensure_space(lispobj *start, unsigned long size) @@ -68,7 +70,8 @@ validate(void) #endif #ifdef LISP_FEATURE_LINKAGE_TABLE - ensure_space( (lispobj *)LINKAGE_TABLE_SPACE_START, LINKAGE_TABLE_SPACE_SIZE); + ensure_space( (lispobj *)LINKAGE_TABLE_SPACE_START, + LINKAGE_TABLE_SPACE_SIZE); #endif #ifdef LISP_FEATURE_OS_PROVIDES_DLOPEN @@ -108,7 +111,8 @@ protect_control_stack_guard_page_thread(int protect_p, struct thread *th) { } void -protect_control_stack_return_guard_page_thread(int protect_p, struct thread* th) { +protect_control_stack_return_guard_page_thread(int protect_p, + struct thread* th) { os_protect(CONTROL_STACK_RETURN_GUARD_PAGE(th), os_vm_page_size,protect_p ? (OS_VM_PROT_READ|OS_VM_PROT_EXECUTE) : OS_VM_PROT_ALL);