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 'winsup/mingw/mingwex/mb_wc_common.h')
-rwxr-xr-xwinsup/mingw/mingwex/mb_wc_common.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/winsup/mingw/mingwex/mb_wc_common.h b/winsup/mingw/mingwex/mb_wc_common.h
deleted file mode 100755
index d1c2f9d10..000000000
--- a/winsup/mingw/mingwex/mb_wc_common.h
+++ /dev/null
@@ -1,13 +0,0 @@
-#include <locale.h>
-#include <string.h>
-#include <stdlib.h>
-
-static inline
-unsigned int get_codepage (void)
-{
- /* locale :: "lang[_country[.code_page]]" | ".code_page" */
- char * cp_string;
- if ((cp_string = strchr (setlocale(LC_CTYPE, NULL), '.')))
- return ((unsigned) atoi (cp_string + 1));
- return 0;
-}