aboutsummaryrefslogtreecommitdiff
path: root/src/malloc/calloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/malloc/calloc.c')
-rw-r--r--src/malloc/calloc.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/malloc/calloc.c b/src/malloc/calloc.c
index bf6bddca..66a26059 100644
--- a/src/malloc/calloc.c
+++ b/src/malloc/calloc.c
@@ -43,3 +43,11 @@ void *calloc(size_t m, size_t n)
n = mal0_clear(p, n);
return memset(p, 0, n);
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif