daily update
[binutils-gdb.git] / mmalloc / mmprivate.h
index 30a5d26783f2c9fa3df24dfff2a01c36bb5351fc..457626293b1201a558b343857cd028519747289a 100644 (file)
@@ -28,21 +28,12 @@ Boston, MA 02111-1307, USA.
 
 #include "mmalloc.h"
 
-#ifdef STDC_HEADERS
+#ifdef HAVE_LIMITS_H
 #  include <limits.h>
-#  ifndef NULL
-#    define NULL (void *) 0
-#  endif
 #else
-#  ifndef size_t
-#    define size_t unsigned int
-#  endif
 #  ifndef CHAR_BIT
 #    define CHAR_BIT 8
 #  endif
-#  ifndef NULL
-#    define NULL 0
-#  endif
 #endif
 
 #ifndef MIN
@@ -302,7 +293,7 @@ struct mdesc
 
 #define MMALLOC_DEVZERO                (1 << 0)        /* Have mapped to /dev/zero */
 #define MMALLOC_INITIALIZED    (1 << 1)        /* Initialized mmalloc */
-#define MMALLOC_MMCHECK_USED   (1 << 2)        /* mmcheck() called already */
+#define MMALLOC_MMCHECK_USED   (1 << 2)        /* mmcheckf() called already */
 
 /* Internal version of `mfree' used in `morecore'. */