From: Petter Urkedal Date: Wed, 30 Sep 2009 21:19:52 +0000 (+0200) Subject: Adjustment to disclaim.c after config.h and a prototype change. X-Git-Tag: gc7_3alpha2~320^2^2~8^2~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8bf20aa883addced341da0595d51e354719845be;p=gc Adjustment to disclaim.c after config.h and a prototype change. --- 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