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>2008-11-25 01:08:02 +0300
committerJeff Johnston <jjohnstn@redhat.com>2008-11-25 01:08:02 +0300
commit6818a5c53923011cd419e1f744061ed3d99168cf (patch)
tree84002506b6fcc3d72205568ef91873a4b1e4d4a3 /newlib/libc/stdio/asnprintf.c
parent0aca33c8236bec45e6acc238a1af0c5f2f6f8959 (diff)
2008-11-24 Craig Howland <howland@LGSInnovations.com>
* libc/stdlib/wcstoull_r.c: Add EINVAL return for bad base value, include wchar.h for prototype, remove extraneous includes, use C99/POSIX ULLONG_MAX (but allow for poor limits.h). * libc/stdlib/wcstoull.c: Fix usage comments (mistakes and to add base value check noted above), remove extraneous includes. * libc/stdio/asnprintf.c: Add #include "local.h" to get function prototype for _svfprintf_r(). * libc/stdio/vasnprintf.c: Ditto. * libc/stdio/local.h: Add function prototype for __submore(). * libc/include/stdio.h: Add function prototypes for _fseeko_r and _ftello_r. * libc/posix/namespace.h: Commented out define for write to eliminate write() prototype being missing for collate.c (which is the only file that presently includes namespace.h). * libc/include/reent.h: Added _rename_r. * libc/reent/renamer.c: Corrected function prototypes in synopses. * libc/locale/ldpart.c: Use struct stat64 when calling fstat64.
Diffstat (limited to 'newlib/libc/stdio/asnprintf.c')
-rw-r--r--newlib/libc/stdio/asnprintf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/newlib/libc/stdio/asnprintf.c b/newlib/libc/stdio/asnprintf.c
index bb7057a34..31e4c7f38 100644
--- a/newlib/libc/stdio/asnprintf.c
+++ b/newlib/libc/stdio/asnprintf.c
@@ -11,6 +11,7 @@
#include <stdarg.h>
#include <limits.h>
#include <errno.h>
+#include "local.h"
char *
_DEFUN(_asnprintf_r, (ptr, buf, lenp, fmt),