diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2001-09-13 21:12:33 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2001-09-13 21:12:33 +0000 |
commit | 7a2afbbb855e8b96234fd78b22698d028e785ea6 (patch) | |
tree | 617fa44b92d9b4b2bdaed083daf357195ffcb73e /newlib/libc/stdio/local.h | |
parent | b011df87d14a660c498e57ac0d889def8480c603 (diff) | |
download | cygnal-7a2afbbb855e8b96234fd78b22698d028e785ea6.tar.gz cygnal-7a2afbbb855e8b96234fd78b22698d028e785ea6.tar.bz2 cygnal-7a2afbbb855e8b96234fd78b22698d028e785ea6.zip |
2001-09-13 Jeff Johnston <jjohnstn@redhat.com>
* libc/stdlib/Makefile.am: Add support to build strtoll_r.c
and strtoull_r.c.
* libc/stdlib/Makefile.in: Regenerated.
* libc/stdlib/strtoll_r.c: New file.
* libc/stdlib/strtoull_r.c: New file.
* libc/stdio/local.h: Add prototypes for long long string
conversion routines.
* libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
tied to %L integer conversion specifier.
Diffstat (limited to 'newlib/libc/stdio/local.h')
-rw-r--r-- | newlib/libc/stdio/local.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/newlib/libc/stdio/local.h b/newlib/libc/stdio/local.h index 8b55503c8..d8ae29d9f 100644 --- a/newlib/libc/stdio/local.h +++ b/newlib/libc/stdio/local.h @@ -86,6 +86,12 @@ char *_EXFUN(_licvt,(char *, long, char)); char *_EXFUN(_llicvt,(char *, long long, char)); #endif +/* The following are found in the stdlib directory, not here */ +#ifdef __GNUC__ +long long _EXFUN(__strtoll_r,(struct _reent *, const char *, char **, int)); +unsigned long long _EXFUN(__strtoull_r,(struct _reent *, const char *, char **, int)); +#endif + #define CVT_BUF_SIZE 128 #define NDYNAMIC 4 /* add four more whenever necessary */ |