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:
authorCorinna Vinschen <corinna@vinschen.de>2008-12-12 18:45:19 +0300
committerCorinna Vinschen <corinna@vinschen.de>2008-12-12 18:45:19 +0300
commit6897665e673b0d49585a77510bd0a68dd6ed2e76 (patch)
treed921d306c50dd5ecba320fe1e0d5589ed84fedaf
parentbaaa8b9140404b1fc7a4ad6b912201da32d8c890 (diff)
* libc/stdio/freopen.c: Add <string.h> for memset prototype.
* libc/stdio/fseek.c: Ditto. * libc/stdio/fwide.c: Add <wchar.h> for fwide prototype.
-rw-r--r--newlib/ChangeLog6
-rw-r--r--newlib/libc/stdio/freopen.c1
-rw-r--r--newlib/libc/stdio/fseek.c1
-rw-r--r--newlib/libc/stdio/fwide.c1
4 files changed, 9 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index cb780c33f..259ae6b9b 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,9 @@
+2008-12-12 Craig Howland <howland@LGSInnovations.com>
+
+ * libc/stdio/freopen.c: Add <string.h> for memset prototype.
+ * libc/stdio/fseek.c: Ditto.
+ * libc/stdio/fwide.c: Add <wchar.h> for fwide prototype.
+
2008-12-11 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/sys/time.h (gettimeofday): Change prototype so
diff --git a/newlib/libc/stdio/freopen.c b/newlib/libc/stdio/freopen.c
index 0d2563b0b..ae774c65b 100644
--- a/newlib/libc/stdio/freopen.c
+++ b/newlib/libc/stdio/freopen.c
@@ -76,6 +76,7 @@ Supporting OS subroutines required: <<close>>, <<fstat>>, <<isatty>>,
#include <reent.h>
#include <time.h>
#include <stdio.h>
+#include <string.h>
#include <errno.h>
#include <fcntl.h>
#include <stdlib.h>
diff --git a/newlib/libc/stdio/fseek.c b/newlib/libc/stdio/fseek.c
index d7f8ab83f..4d5fda4fe 100644
--- a/newlib/libc/stdio/fseek.c
+++ b/newlib/libc/stdio/fseek.c
@@ -101,6 +101,7 @@ Supporting OS subroutines required: <<close>>, <<fstat>>, <<isatty>>,
#include <_ansi.h>
#include <reent.h>
#include <stdio.h>
+#include <string.h>
#include <time.h>
#include <fcntl.h>
#include <stdlib.h>
diff --git a/newlib/libc/stdio/fwide.c b/newlib/libc/stdio/fwide.c
index b81327ada..46a7db086 100644
--- a/newlib/libc/stdio/fwide.c
+++ b/newlib/libc/stdio/fwide.c
@@ -55,6 +55,7 @@ C99, POSIX.1-2001.
*/
#include <_ansi.h>
+#include <wchar.h>
#include "local.h"
int