Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2002-07-16 01:13:32 +0400
committerJeff Johnston <jjohnstn@redhat.com>2002-07-16 01:13:32 +0400
commit8cb61a96e6e796f3a3894d51059ef254310a5410 (patch)
treecc491aeb43ecc12e99e13da6e4aacf888a608955 /newlib/libc/sys
parentedba3282e8c83ef5e9e821fb158183886913be13 (diff)
2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
* libc/sys/linux/callocr.c: Fix so code references calloc.
Diffstat (limited to 'newlib/libc/sys')
-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 818e05a75..bff43b8c3 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);
+}