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/mbrlen.c')
-rw-r--r--newlib/libc/stdlib/mbrlen.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/newlib/libc/stdlib/mbrlen.c b/newlib/libc/stdlib/mbrlen.c
deleted file mode 100644
index ac9aa324f..000000000
--- a/newlib/libc/stdlib/mbrlen.c
+++ /dev/null
@@ -1,20 +0,0 @@
-#include <reent.h>
-#include <newlib.h>
-#include <wchar.h>
-#include <stdlib.h>
-#include <stdio.h>
-#include <errno.h>
-
-size_t
-mbrlen(const char *s, size_t n, mbstate_t *ps)
-{
-#ifdef _MB_CAPABLE
- if (ps == NULL)
- {
- _REENT_CHECK_MISC(_REENT);
- ps = &(_REENT_MBRLEN_STATE(_REENT));
- }
-#endif
-
- return mbrtowc(NULL, s, n, ps);
-}