Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2001-09-14 01:12:33 +0400
committerJeff Johnston <jjohnstn@redhat.com>2001-09-14 01:12:33 +0400
commit7a2afbbb855e8b96234fd78b22698d028e785ea6 (patch)
tree617fa44b92d9b4b2bdaed083daf357195ffcb73e /newlib/libc/stdio/local.h
parentb011df87d14a660c498e57ac0d889def8480c603 (diff)
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.h6
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 */