summaryrefslogtreecommitdiff
path: root/extra/MacOS.c
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2011-12-22 13:08:10 +0400
committerIvan Maidanski <ivmai@mail.ru>2011-12-22 13:08:10 +0400
commit2dd56eb49583be85fa44b9975fd63b0df85e8c15 (patch)
treebbd828be3bea9b4271c0f1c8c9cd2ddf1a1e1f77 /extra/MacOS.c
parenta8c3d5aa2da414b8d47f5688dd4972c62ee28d1b (diff)
downloadbdwgc-2dd56eb49583be85fa44b9975fd63b0df85e8c15.tar.gz
Remove trailing spaces at EOLn in all files
Diffstat (limited to 'extra/MacOS.c')
-rw-r--r--extra/MacOS.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/extra/MacOS.c b/extra/MacOS.c
index b56bea78..6cb5edb7 100644
--- a/extra/MacOS.c
+++ b/extra/MacOS.c
@@ -1,16 +1,16 @@
/*
MacOS.c
-
+
Some routines for the Macintosh OS port of the Hans-J. Boehm, Alan J. Demers
garbage collector.
-
+
<Revision History>
-
+
11/22/94 pcb StripAddress the temporary memory handle for 24-bit mode.
11/30/94 pcb Tracking all memory usage so we can deallocate it all at once.
02/10/96 pcb Added routine to perform a final collection when
unloading shared library.
-
+
by Patrick C. Beard.
*/
/* Boehm, February 15, 1996 2:55 pm PST */
@@ -79,7 +79,7 @@ Ptr GC_MacTemporaryNewPtr(size_t size, Boolean clearMemory)
(**tempMemBlock).nextBlock = theTemporaryMemory;
theTemporaryMemory = tempMemBlock;
}
-
+
# if !defined(SHARED_LIBRARY_BUILD)
// install an exit routine to clean up the memory used at the end.
if (firstTime) {
@@ -87,17 +87,17 @@ Ptr GC_MacTemporaryNewPtr(size_t size, Boolean clearMemory)
firstTime = false;
}
# endif
-
+
return tempPtr;
}
-extern word GC_fo_entries;
+extern word GC_fo_entries;
static void perform_final_collection()
{
unsigned i;
word last_fo_entries = 0;
-
+
/* adjust the stack bottom, because CFM calls us from another stack
location. */
GC_stackbottom = (ptr_t)&i;