summaryrefslogtreecommitdiffstats
path: root/ext/tarkin/mem.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/tarkin/mem.h')
-rw-r--r--ext/tarkin/mem.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/ext/tarkin/mem.h b/ext/tarkin/mem.h
index f6e4c726..f218f8e4 100644
--- a/ext/tarkin/mem.h
+++ b/ext/tarkin/mem.h
@@ -9,11 +9,9 @@
#if defined(DBG_MEMLEAKS)
-extern void *dbg_malloc (char *file, int line, char *func, size_t bytes);
-extern void *dbg_calloc (char *file, int line, char *func, size_t count,
- size_t bytes);
-extern void *dbg_realloc (char *file, int line, char *func, char *what,
- void *mem, size_t bytes);
+extern void* dbg_malloc (char *file, int line, char *func, size_t bytes);
+extern void* dbg_calloc (char *file, int line, char *func, size_t count, size_t bytes);
+extern void* dbg_realloc (char *file, int line, char *func, char *what, void *mem, size_t bytes);
extern void dbg_free (char *file, int line, char *func, char *what, void *mem);
#define MALLOC(bytes) dbg_malloc(__FILE__,__LINE__,__FUNCTION__,bytes)
@@ -31,3 +29,4 @@ extern void dbg_free (char *file, int line, char *func, char *what, void *mem);
#endif
#endif
+