diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2002-07-15 21:13:32 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2002-07-15 21:13:32 +0000 |
commit | 8cb61a96e6e796f3a3894d51059ef254310a5410 (patch) | |
tree | cc491aeb43ecc12e99e13da6e4aacf888a608955 | |
parent | edba3282e8c83ef5e9e821fb158183886913be13 (diff) | |
download | cygnal-8cb61a96e6e796f3a3894d51059ef254310a5410.tar.gz cygnal-8cb61a96e6e796f3a3894d51059ef254310a5410.tar.bz2 cygnal-8cb61a96e6e796f3a3894d51059ef254310a5410.zip |
2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
* libc/sys/linux/callocr.c: Fix so code references
calloc.
-rw-r--r-- | newlib/ChangeLog | 5 | ||||
-rw-r--r-- | newlib/libc/sys/linux/callocr.c | 8 |
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); +} |