summaryrefslogtreecommitdiff
path: root/accel-pppd/memdebug.h
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2011-01-17 18:08:11 +0300
committerDmitry Kozlov <xeb@mail.ru>2011-01-17 18:08:11 +0300
commitc783f297faa2453daca7189182a17f913e003ccc (patch)
tree0527171103dbe568658ea21262e1027b7023bf9a /accel-pppd/memdebug.h
parent56762d9574d05bff9709c856f9f466c51156f549 (diff)
downloadaccel-ppp-c783f297faa2453daca7189182a17f913e003ccc.tar.gz
accel-ppp-c783f297faa2453daca7189182a17f913e003ccc.zip
memory usage optimization
Diffstat (limited to 'accel-pppd/memdebug.h')
-rw-r--r--accel-pppd/memdebug.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/accel-pppd/memdebug.h b/accel-pppd/memdebug.h
index dc6b9ad1..98e87d06 100644
--- a/accel-pppd/memdebug.h
+++ b/accel-pppd/memdebug.h
@@ -22,6 +22,8 @@ void md_check(void *ptr);
#define _malloc(size) malloc(size)
#define _realloc(ptr, size) realloc(ptr, size)
#define _free(ptr) free(ptr)
+#define _strdup(str) strdup(str)
+#define _strndup(str, size) strndup(str, size)
#endif
#endif