aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2002-07-15 21:13:32 +0000
committerJeff Johnston <jjohnstn@redhat.com>2002-07-15 21:13:32 +0000
commit8cb61a96e6e796f3a3894d51059ef254310a5410 (patch)
treecc491aeb43ecc12e99e13da6e4aacf888a608955 /newlib/libc
parentedba3282e8c83ef5e9e821fb158183886913be13 (diff)
downloadnewlib-8cb61a96e6e796f3a3894d51059ef254310a5410.zip
newlib-8cb61a96e6e796f3a3894d51059ef254310a5410.tar.gz
newlib-8cb61a96e6e796f3a3894d51059ef254310a5410.tar.bz2
2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
* libc/sys/linux/callocr.c: Fix so code references calloc.
Diffstat (limited to 'newlib/libc')
-rw-r--r--newlib/libc/sys/linux/callocr.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/newlib/libc/sys/linux/callocr.c b/newlib/libc/sys/linux/callocr.c
index 818e05a..bff43b8 100644
--- a/newlib/libc/sys/linux/callocr.c
+++ b/newlib/libc/sys/linux/callocr.c
@@ -1 +1,7 @@
-/* dummy file to override one object in stdlib directory */
+#include <stdlib.h>
+
+void *
+_calloc_r (struct _reent *ptr, size_t size, size_t len)
+{
+ return calloc (size, len);
+}