diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2003-11-27 20:15:47 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2003-11-27 20:15:47 +0000 |
commit | 83bf7d2f89d008a8d6c958f2020f78e26c525a4d (patch) | |
tree | 86438a54fdc28d391f79392261823bfbcfe6e0d0 /newlib/libc/include | |
parent | 6bbb700c348150b7f16b185ec63eb0c1fcc92584 (diff) | |
download | cygnal-83bf7d2f89d008a8d6c958f2020f78e26c525a4d.tar.gz cygnal-83bf7d2f89d008a8d6c958f2020f78e26c525a4d.tar.bz2 cygnal-83bf7d2f89d008a8d6c958f2020f78e26c525a4d.zip |
2003-11-27 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/stdlib.h (_atoll_r, _atol_r): New prototypes.
* libc/stdlib/atol.c (_atol_r): New reentrant function.
* libc/stdlib/atoll.c (_atoll_r): Ditto.
Diffstat (limited to 'newlib/libc/include')
-rw-r--r-- | newlib/libc/include/stdlib.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/newlib/libc/include/stdlib.h b/newlib/libc/include/stdlib.h index 53dec3ec4..2b8a1765f 100644 --- a/newlib/libc/include/stdlib.h +++ b/newlib/libc/include/stdlib.h @@ -63,6 +63,7 @@ float _EXFUN(atoff,(const char *__nptr)); #endif int _EXFUN(atoi,(const char *__nptr)); long _EXFUN(atol,(const char *__nptr)); +long _EXFUN(_atol_r,(struct _reent *, const char *__nptr)); _PTR _EXFUN(bsearch,(const _PTR __key, const _PTR __base, size_t __nmemb, @@ -164,6 +165,7 @@ unsigned short * _VOID _EXFUN(srand48,(long)); _VOID _EXFUN(_srand48_r,(struct _reent *, long)); long long _EXFUN(atoll,(const char *__nptr)); +long long _EXFUN(_atoll_r,(struct _reent *, const char *__nptr)); long long _EXFUN(llabs,(long long)); lldiv_t _EXFUN(lldiv,(long long __numer, long long __denom)); long long _EXFUN(strtoll,(const char *__n, char **__end_PTR, int __base)); |