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/include | |
parent | 47063f00e4eae2ed37096eda54429c025c0bc7b5 (diff) | |
download | newlib-5665b0e1d06cf7df8403ff287c8d400ebd368c65.zip newlib-5665b0e1d06cf7df8403ff287c8d400ebd368c65.tar.gz newlib-5665b0e1d06cf7df8403ff287c8d400ebd368c65.tar.bz2 |
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/include')
-rw-r--r-- | newlib/libc/include/stdlib.h | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/newlib/libc/include/stdlib.h b/newlib/libc/include/stdlib.h index a6f1041..3932584 100644 --- a/newlib/libc/include/stdlib.h +++ b/newlib/libc/include/stdlib.h @@ -88,15 +88,16 @@ _VOID _EXFUN(qsort,(_PTR __base, size_t __nmemb, size_t __size, int(*_compar)(co int _EXFUN(rand,(_VOID)); _PTR _EXFUN(realloc,(_PTR __r, size_t __size)); _VOID _EXFUN(srand,(unsigned __seed)); -double _EXFUN(strtod,(const char *__n, char **_end_PTR)); -double _EXFUN(_strtod_r,(struct _reent *,const char *__n, char **_end_PTR)); +double _EXFUN(strtod,(const char *__n, char **__end_PTR)); +double _EXFUN(_strtod_r,(struct _reent *,const char *__n, char **__end_PTR)); #ifndef __STRICT_ANSI__ -float _EXFUN(strtodf,(const char *__n, char **_end_PTR)); +float _EXFUN(strtodf,(const char *__n, char **__end_PTR)); #endif -long _EXFUN(strtol,(const char *__n, char **_end_PTR, int __base)); -long _EXFUN(_strtol_r,(struct _reent *,const char *__n, char **_end_PTR, int __base)); -unsigned long _EXFUN(strtoul,(const char *_n_PTR, char **_end_PTR, int __base)); -unsigned long _EXFUN(_strtoul_r,(struct _reent *,const char *_n_PTR, char **_end_PTR, int __base)); +long _EXFUN(strtol,(const char *__n, char **__end_PTR, int __base)); +long _EXFUN(_strtol_r,(struct _reent *,const char *__n, char **__end_PTR, int __base)); +unsigned long _EXFUN(strtoul,(const char *__n, char **__end_PTR, int __base)); +unsigned long _EXFUN(_strtoul_r,(struct _reent *,const char *__n, char **__end_PTR, int __base)); + int _EXFUN(system,(const char *__string)); #ifndef __STRICT_ANSI__ @@ -136,6 +137,10 @@ unsigned short * _EXFUN(_seed48_r,(struct _reent *, unsigned short [3])); _VOID _EXFUN(srand48,(long)); _VOID _EXFUN(_srand48_r,(struct _reent *, long)); +long long _EXFUN(strtoll,(const char *__n, char **__end_PTR, int __base)); +long long _EXFUN(_strtoll_r,(struct _reent *, const char *__n, char **__end_PTR, int __base)); +unsigned long long _EXFUN(strtoull,(const char *__n, char **__end_PTR, int __base)); +unsigned long long _EXFUN(_strtoull_r,(struct _reent *, const char *__n, char **__end_PTR, int __base)); #ifndef __CYGWIN__ _VOID _EXFUN(cfree,(_PTR)); |