From 8bf20aa883addced341da0595d51e354719845be Mon Sep 17 00:00:00 2001 From: Petter Urkedal Date: Wed, 30 Sep 2009 23:19:52 +0200 Subject: [PATCH] Adjustment to disclaim.c after config.h and a prototype change. --- disclaim.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/disclaim.c b/disclaim.c index f06c818d..b4f20461 100644 --- a/disclaim.c +++ b/disclaim.c @@ -1,8 +1,6 @@ -#ifdef ENABLE_DISCLAIM - -#include "gc_disclaim.h" #include "private/gc_priv.h" #include "private/thread_local_alloc.h" +#include "gc_disclaim.h" /* Low level interface for reclaim callbacks. */ @@ -59,7 +57,7 @@ done: UNLOCK(); } -ptr_t GC_clear_stack(); +void * GC_clear_stack(); #ifdef THREAD_LOCAL_ALLOC void * GC_core_finalized_malloc(size_t lb, struct GC_finalizer_closure *fclos) @@ -133,8 +131,6 @@ void * GC_finalized_malloc(size_t client_lb, struct GC_finalizer_closure *fclos) } #endif -#endif /* ENABLE_DISCLAIM */ - /* [1] The disclaim function may be passed fragments from the free-list, on * which it should not run finalization. To recognize this case, we use * the fact that the first word on such fragments are always even (a link -- 2.40.0