diff options
author | Christopher Faylor <me@cgf.cx> | 2003-12-05 09:13:44 +0300 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2003-12-05 09:13:44 +0300 |
commit | 576593dd7233945479f9689059d527401a7cea96 (patch) | |
tree | e000677cbc4213937a22de44e5d2f463d21b8c1e /newlib/libc/stdlib | |
parent | 4c889d629d2d1deca5f402054bfb76203197172d (diff) |
* libc/stdlib/mbrlen.c: Change include order to prevent compiler errors when
defining _mbrtowc.
* libc/stdlib/mbsinit.c: Ditto.
* libc/stdlib/mbsrtowcs.c: Ditto.
* libc/stdlib/wcrtomb.c: Ditto.
* libc/stdlib/wcsrtombs.c: Ditto.
* libc/stdlib/wctob.c: Ditto.
* libc/stdlib/mbrlen.c: Change include order to prevent compiler errors when
defining _mbrtowc.
* libc/stdlib/mbsinit.c: Ditto.
* libc/stdlib/mbsrtowcs.c: Ditto.
Diffstat (limited to 'newlib/libc/stdlib')
-rw-r--r-- | newlib/libc/stdlib/mbrlen.c | 2 | ||||
-rw-r--r-- | newlib/libc/stdlib/mbsinit.c | 2 | ||||
-rw-r--r-- | newlib/libc/stdlib/mbsrtowcs.c | 2 | ||||
-rw-r--r-- | newlib/libc/stdlib/wcrtomb.c | 2 | ||||
-rw-r--r-- | newlib/libc/stdlib/wcsrtombs.c | 2 | ||||
-rw-r--r-- | newlib/libc/stdlib/wctob.c | 3 |
6 files changed, 6 insertions, 7 deletions
diff --git a/newlib/libc/stdlib/mbrlen.c b/newlib/libc/stdlib/mbrlen.c index 504348d38..cf14add86 100644 --- a/newlib/libc/stdlib/mbrlen.c +++ b/newlib/libc/stdlib/mbrlen.c @@ -1,7 +1,7 @@ +#include <reent.h> #include <wchar.h> #include <stdlib.h> #include <stdio.h> -#include <reent.h> #include <errno.h> size_t diff --git a/newlib/libc/stdlib/mbsinit.c b/newlib/libc/stdlib/mbsinit.c index a353cb1c1..e32369ae1 100644 --- a/newlib/libc/stdlib/mbsinit.c +++ b/newlib/libc/stdlib/mbsinit.c @@ -1,7 +1,7 @@ +#include <reent.h> #include <wchar.h> #include <stdlib.h> #include <stdio.h> -#include <reent.h> #include <errno.h> int diff --git a/newlib/libc/stdlib/mbsrtowcs.c b/newlib/libc/stdlib/mbsrtowcs.c index 08d9d0c18..10d3a72d4 100644 --- a/newlib/libc/stdlib/mbsrtowcs.c +++ b/newlib/libc/stdlib/mbsrtowcs.c @@ -1,7 +1,7 @@ +#include <reent.h> #include <wchar.h> #include <stdlib.h> #include <stdio.h> -#include <reent.h> #include <errno.h> size_t diff --git a/newlib/libc/stdlib/wcrtomb.c b/newlib/libc/stdlib/wcrtomb.c index 0eb59ca94..fbd71b1e2 100644 --- a/newlib/libc/stdlib/wcrtomb.c +++ b/newlib/libc/stdlib/wcrtomb.c @@ -1,7 +1,7 @@ +#include <reent.h> #include <wchar.h> #include <stdlib.h> #include <stdio.h> -#include <reent.h> #include <errno.h> size_t diff --git a/newlib/libc/stdlib/wcsrtombs.c b/newlib/libc/stdlib/wcsrtombs.c index 677dfa1db..11fdf9285 100644 --- a/newlib/libc/stdlib/wcsrtombs.c +++ b/newlib/libc/stdlib/wcsrtombs.c @@ -1,7 +1,7 @@ +#include <reent.h> #include <wchar.h> #include <stdlib.h> #include <stdio.h> -#include <reent.h> #include <errno.h> size_t diff --git a/newlib/libc/stdlib/wctob.c b/newlib/libc/stdlib/wctob.c index 4288c54a8..57187b287 100644 --- a/newlib/libc/stdlib/wctob.c +++ b/newlib/libc/stdlib/wctob.c @@ -1,8 +1,7 @@ -#include <wchar.h> +#include <reent.h> #include <wchar.h> #include <stdlib.h> #include <stdio.h> -#include <reent.h> int wctob (wint_t c) |