summaryrefslogtreecommitdiff
path: root/libc/stdlib/malloc-standard/calloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdlib/malloc-standard/calloc.c')
-rw-r--r--libc/stdlib/malloc-standard/calloc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/stdlib/malloc-standard/calloc.c b/libc/stdlib/malloc-standard/calloc.c
index a70516f0e..ccf295e82 100644
--- a/libc/stdlib/malloc-standard/calloc.c
+++ b/libc/stdlib/malloc-standard/calloc.c
@@ -91,3 +91,5 @@ void* calloc(size_t n_elements, size_t elem_size)
return mem;
}
+/* glibc compatibilty */
+weak_alias(calloc, __libc_calloc)