diff vmalloc.c @ 60:7b799a46cc87

Added compiler switch to turn on and off debug-only probes, deleted time-junk
author Me
date Mon, 08 Nov 2010 03:57:46 -0800
parents 3bac84e4e56e
children a6c442d52590 13b22ffb8a2f
line diff
     1.1 --- a/vmalloc.c	Sun Nov 07 06:51:34 2010 -0800
     1.2 +++ b/vmalloc.c	Mon Nov 08 03:57:46 2010 -0800
     1.3 @@ -68,7 +68,7 @@
     1.4  
     1.5     if( foundElem == NULL )
     1.6      { ERROR("\nmalloc failed\n")
     1.7 -      return NULL;  //indicates malloc failed
     1.8 +      return (void *)NULL;  //indicates malloc failed
     1.9      }
    1.10        //Using a kludge to identify the element that is the top chunk in the
    1.11        // heap -- saving top-of-heap addr in head's nextHigherInMem -- and