aboutsummaryrefslogtreecommitdiff
path: root/mmalloc/mmalloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'mmalloc/mmalloc.h')
-rw-r--r--mmalloc/mmalloc.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/mmalloc/mmalloc.h b/mmalloc/mmalloc.h
index 8399876..34e3898 100644
--- a/mmalloc/mmalloc.h
+++ b/mmalloc/mmalloc.h
@@ -1,8 +1,12 @@
#ifndef MMALLOC_H
#define MMALLOC_H 1
+/* FIXME: If <stddef.h> doesn't exist, you'll need to do something
+ to define size_t before including this file. Like upgrading
+ to a system with an ANSI C environment. */
+
#ifdef HAVE_STDDEF_H
-#include <stddef.h>
+# include <stddef.h>
#endif
#include "ansidecl.h"
@@ -36,6 +40,8 @@ extern PTR mvalloc PARAMS ((PTR, size_t));
extern int mmcheck PARAMS ((PTR, void (*) (void)));
+extern int mmcheckf PARAMS ((PTR, void (*) (void), int));
+
/* Pick up the current statistics. (see FIXME elsewhere) */
extern struct mstats mmstats PARAMS ((PTR));
@@ -50,4 +56,6 @@ extern PTR mmalloc_getkey PARAMS ((PTR, int));
extern int mmalloc_errno PARAMS ((PTR));
+extern int mmtrace PARAMS ((void));
+
#endif /* MMALLOC_H */