summaryrefslogtreecommitdiff
path: root/accel-pptpd/memdebug.h
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pptpd/memdebug.h')
-rw-r--r--accel-pptpd/memdebug.h28
1 files changed, 0 insertions, 28 deletions
diff --git a/accel-pptpd/memdebug.h b/accel-pptpd/memdebug.h
deleted file mode 100644
index dc6b9ad1..00000000
--- a/accel-pptpd/memdebug.h
+++ /dev/null
@@ -1,28 +0,0 @@
-#ifndef __MEMDEBUG_H
-#define __MEMDEBUG_H
-
-#ifdef MEMDEBUG
-
-#include <sys/types.h>
-
-#define _malloc(size) md_malloc(size, __FILE__, __LINE__)
-#define _realloc(ptr, size) md_realloc(ptr, size, __FILE__, __LINE__)
-#define _free(ptr) md_free(ptr, __FILE__, __LINE__)
-#define _strdup(str) md_strdup(str, __FILE__, __LINE__)
-#define _strndup(str, size) md_strndup(str, size, __FILE__, __LINE__)
-
-void *md_malloc(size_t size, const char *fname, int line);
-void *md_realloc(void *ptr, size_t size, const char *fname, int line);
-void md_free(void *ptr, const char *fname, int line);
-char* md_strdup(const char *ptr, const char *fname, int line);
-char* md_strndup(const char *ptr, size_t size, const char *fname, int line);
-void md_check(void *ptr);
-
-#else
-#define _malloc(size) malloc(size)
-#define _realloc(ptr, size) realloc(ptr, size)
-#define _free(ptr) free(ptr)
-#endif
-
-#endif
-