From 5665b0e1d06cf7df8403ff287c8d400ebd368c65 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Mon, 1 Oct 2001 18:05:11 +0000 Subject: 2001-10-01 Charles Wilson * 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 --- newlib/libc/stdlib/strtoll_r.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'newlib/libc/stdlib/strtoll_r.c') 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 -- cgit v1.2.3