summaryrefslogtreecommitdiffstats
path: root/malloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'malloc.c')
-rw-r--r--malloc.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/malloc.c b/malloc.c
deleted file mode 100644
index 6a89554..0000000
--- a/malloc.c
+++ /dev/null
@@ -1,13 +0,0 @@
-#include <string.h>
-
-#include "malloc.h"
-
-void* sa_memdup(const void* p, size_t size) {
- void *r;
-
- if (!(r = sa_malloc(size)))
- return NULL;
-
- memcpy(r, p, size);
- return r;
-}