From 7a2afbbb855e8b96234fd78b22698d028e785ea6 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Thu, 13 Sep 2001 21:12:33 +0000 Subject: 2001-09-13 Jeff Johnston * 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. --- newlib/libc/stdio/local.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'newlib/libc/stdio/local.h') 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 */ -- cgit v1.2.3