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:
authorChristopher Faylor <me@cgf.cx>2003-12-05 09:02:31 +0300
committerChristopher Faylor <me@cgf.cx>2003-12-05 09:02:31 +0300
commit4c889d629d2d1deca5f402054bfb76203197172d (patch)
tree4eec2d5778b8c45b8918d20f0bdfcce12ca38127
parentaeab6ea65810c74e71e33e367ec4eb436038de39 (diff)
* libc/stdlib/mbrtowc.c: Change include order to prevent compiler errors when
defining _mbrtowc.
-rw-r--r--newlib/ChangeLog5
-rw-r--r--newlib/libc/stdlib/mbrtowc.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 07fca262d..62b0036cc 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,8 @@
+2003-12-05 Christopher Faylor <cgf@redhat.com>
+
+ * libc/stdlib/mbrtowc.c: Change include order to prevent compiler
+ errors when defining _mbrtowc.
+
2003-12-04 Artem B. Bityuckiy <abitytsky@softminecorp.com>
* libc/stdio/vfprintf.c (_VFPRINTF_R): Use _r versions
diff --git a/newlib/libc/stdlib/mbrtowc.c b/newlib/libc/stdlib/mbrtowc.c
index 0db1208d0..6bf20877c 100644
--- a/newlib/libc/stdlib/mbrtowc.c
+++ b/newlib/libc/stdlib/mbrtowc.c
@@ -1,7 +1,7 @@
+#include <reent.h>
#include <wchar.h>
#include <stdlib.h>
#include <stdio.h>
-#include <reent.h>
#include <errno.h>
#include <string.h>