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:
Diffstat (limited to 'newlib/libc/stdlib/wcstombs_r.c')
-rw-r--r--newlib/libc/stdlib/wcstombs_r.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/newlib/libc/stdlib/wcstombs_r.c b/newlib/libc/stdlib/wcstombs_r.c
index 70f680a82..69c82d411 100644
--- a/newlib/libc/stdlib/wcstombs_r.c
+++ b/newlib/libc/stdlib/wcstombs_r.c
@@ -1,5 +1,4 @@
#include <stdlib.h>
-#include <wchar.h>
size_t
_DEFUN (_wcstombs_r, (reent, s, pwcs, n, state),
@@ -7,7 +6,7 @@ _DEFUN (_wcstombs_r, (reent, s, pwcs, n, state),
char *s _AND
const wchar_t *pwcs _AND
size_t n _AND
- mbstate_t *state)
+ int *state)
{
char *ptr = s;
size_t max = n;