Upgrade Boehm GC to 7.2alpha4.
[cacao.git] / src / mm / boehm-gc / stubborn.c
index e5d08e2016107226fad6bcc5f99765e6a488d83e..a297dd5109c68db40212ce8cad988321dd154e6c 100644 (file)
@@ -1,4 +1,4 @@
-/* 
+/*
  * Copyright 1988, 1989 Hans-J. Boehm, Alan J. Demers
  * Copyright (c) 1991-1994 by Xerox Corporation.  All rights reserved.
  *
  * provided the above notices are retained, and a notice that the code was
  * modified is included with the above copyright notice.
  */
-/* Boehm, July 31, 1995 5:02 pm PDT */
-
 
 #include "private/gc_priv.h"
 
 #if defined(MANUAL_VDB)
-/* Stubborn object (hard to change, nearly immutable) allocation. */
-/* This interface is deprecated.  We mostly emulate it using     */
-/* MANUAL_VDB.  But that imposes the additional constraint that          */
-/* written, but not yet GC_dirty()ed objects must be referenced          */
-/* by a stack.                                                   */
-GC_API void * GC_CALL GC_malloc_stubborn(size_t lb)
-{
+
+  /* Stubborn object (hard to change, nearly immutable) allocation.     */
+  /* This interface is deprecated.  We mostly emulate it using          */
+  /* MANUAL_VDB.  But that imposes the additional constraint that       */
+  /* written, but not yet GC_dirty()ed objects must be referenced       */
+  /* by a stack.                                                        */
+
+  GC_API void * GC_CALL GC_malloc_stubborn(size_t lb)
+  {
     return(GC_malloc(lb));
-}
+  }
 
-GC_API void GC_CALL GC_end_stubborn_change(void *p)
-{
+  GC_API void GC_CALL GC_end_stubborn_change(void *p)
+  {
     GC_dirty(p);
-}
+  }
 
-/*ARGSUSED*/
-GC_API void GC_CALL GC_change_stubborn(void *p)
-{
-}
+  /*ARGSUSED*/
+  GC_API void GC_CALL GC_change_stubborn(void *p)
+  {
+  }
 
 #else /* !MANUAL_VDB */
 
-GC_API void * GC_CALL GC_malloc_stubborn(size_t lb)
-{
+  GC_API void * GC_CALL GC_malloc_stubborn(size_t lb)
+  {
     return(GC_malloc(lb));
-}
+  }
 
-/*ARGSUSED*/
-GC_API void GC_CALL GC_end_stubborn_change(void *p)
-{
-}
+  /*ARGSUSED*/
+  GC_API void GC_CALL GC_end_stubborn_change(void *p)
+  {
+  }
 
-/*ARGSUSED*/
-GC_API void GC_CALL GC_change_stubborn(void *p)
-{
-}
+  /*ARGSUSED*/
+  GC_API void GC_CALL GC_change_stubborn(void *p)
+  {
+  }
 
 #endif /* !MANUAL_VDB */