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:
-rw-r--r--newlib/ChangeLog5
-rw-r--r--newlib/libc/sys/linux/callocr.c8
2 files changed, 12 insertions, 1 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 5dd3e5e8c..9959585b7 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,5 +1,10 @@
2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
+ * libc/sys/linux/callocr.c: Fix so code references
+ calloc.
+
+2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
+
* libc/sys/linux/Makefile.am: Add new files.
* libc/sys/linux/Makefile.in: Regenerated.
* libc/sys/linux/bp-sym.h: Moved to include directory.
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);
+}