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 /newlib/libc | |
parent | edba3282e8c83ef5e9e821fb158183886913be13 (diff) | |
download | newlib-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.c | 8 |
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); +} |