diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2001-10-01 18:05:11 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2001-10-01 18:05:11 +0000 |
commit | 5665b0e1d06cf7df8403ff287c8d400ebd368c65 (patch) | |
tree | 52ee68be2e527a08d1608deeeddeec5fd0bf9f76 /newlib/libc/stdlib/strtoll_r.c | |
parent | 47063f00e4eae2ed37096eda54429c025c0bc7b5 (diff) | |
download | cygnal-5665b0e1d06cf7df8403ff287c8d400ebd368c65.tar.gz cygnal-5665b0e1d06cf7df8403ff287c8d400ebd368c65.tar.bz2 cygnal-5665b0e1d06cf7df8403ff287c8d400ebd368c65.zip |
2001-10-01 Charles Wilson <cwilson@ece.gatech.edu>
* libc/include/stdlib.h: add declarations for
_strtoull_r, _strtoll_r, strtoull, and strtoll.
* libc/stdio/local.h: remove declarations of
__strtoull_r and __strtoll_r.
* libc/stdio/vfscanf.c(__svfscanf_r): call
_strtoull_r instead of __strtoull_r. Ditto
_strtoll_r vs. __strtoll_r.
* libc/stdlib/Makefile.am: add new files to
.c list and .def list
* libc/stdlib/Makefile.in: regenerate
* libc/stdlib/strtoll_r.c: rename __strtoll_r
as _strtoll_r
* libc/stdlib/strtoull_r.c: rename __strtoull_r
as _strtoull_r
* libc/stdlib/strtoull.c: new file
* libc/stdlib/strtoll.c: new file
Diffstat (limited to 'newlib/libc/stdlib/strtoll_r.c')
-rw-r--r-- | newlib/libc/stdlib/strtoll_r.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/stdlib/strtoll_r.c b/newlib/libc/stdlib/strtoll_r.c index 6181507a3..b814f68be 100644 --- a/newlib/libc/stdlib/strtoll_r.c +++ b/newlib/libc/stdlib/strtoll_r.c @@ -2,7 +2,7 @@ This code is based on strtoul.c which has the following copyright. It is used to convert a string into a signed long long. - long long __strtoll_r (struct _reent *rptr, const char *s, + long long _strtoll_r (struct _reent *rptr, const char *s, char **ptr, int base); */ @@ -56,7 +56,7 @@ * alphabets and digits are each contiguous. */ long long -_DEFUN (__strtoll_r, (rptr, nptr, endptr, base), +_DEFUN (_strtoll_r, (rptr, nptr, endptr, base), struct _reent *rptr _AND _CONST char *nptr _AND char **endptr _AND |