Adjustment to disclaim.c after config.h and a prototype change.
authorPetter Urkedal <urkedal@nbi.dk>
Wed, 30 Sep 2009 21:19:52 +0000 (23:19 +0200)
committerIvan Maidanski <ivmai@mail.ru>
Fri, 30 Sep 2011 13:34:54 +0000 (17:34 +0400)
disclaim.c

index f06c818..b4f2046 100644 (file)
@@ -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