summaryrefslogtreecommitdiff
path: root/memdebug/memdebug.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@radon.tklauser.home>2010-03-08 23:08:41 +0100
committerTobias Klauser <tklauser@radon.tklauser.home>2010-03-08 23:08:41 +0100
commit0a2822d4ad8721673e31d122549e9426105b0289 (patch)
tree19fc78109687cecc80f77363d31e0aa5484d01da /memdebug/memdebug.h
parentdbd23d3a6263ad4c79915757b903835ab5ab28d0 (diff)
memdebug rework
Diffstat (limited to 'memdebug/memdebug.h')
-rw-r--r--memdebug/memdebug.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/memdebug/memdebug.h b/memdebug/memdebug.h
index 3ae1159..7a816c0 100644
--- a/memdebug/memdebug.h
+++ b/memdebug/memdebug.h
@@ -23,11 +23,9 @@ struct memdebug_heap_item {
const char *file;
unsigned int line;
-#ifdef MEMDEBUG_TRACE_DOUBLE_FREE
const char *freed_func;
const char *freed_file;
unsigned int freed_line;
-#endif
};
#define memdebug_malloc(size) \
@@ -39,6 +37,6 @@ void *__memdebug_malloc(size_t size, const char *func,
const char *file, const unsigned int line);
void __memdebug_free(void *ptr, const char *func,
const char *file, const unsigned int line);
-void memdebug_report(void);
+void memdebug_report(int report_all);
#endif /* _MEMDEBUG_H_ */