diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 5dd3e5e8c..9959585b7 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,8 @@ +2002-07-15 Jeff Johnston + + * libc/sys/linux/callocr.c: Fix so code references + calloc. + 2002-07-15 Jeff Johnston * libc/sys/linux/Makefile.am: Add new files. 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 + +void * +_calloc_r (struct _reent *ptr, size_t size, size_t len) +{ + return calloc (size, len); +}