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')
-rw-r--r--newlib/libc/include/ctype.h2
-rw-r--r--newlib/libc/include/langinfo.h2
-rw-r--r--newlib/libc/include/locale.h2
-rw-r--r--newlib/libc/include/stdlib.h2
-rw-r--r--newlib/libc/include/string.h2
-rw-r--r--newlib/libc/include/strings.h2
-rw-r--r--newlib/libc/include/time.h2
-rw-r--r--newlib/libc/include/wchar.h2
-rw-r--r--newlib/libc/include/wctype.h2
-rw-r--r--newlib/libc/include/xlocale.h (renamed from newlib/libc/include/sys/_locale.h)6
10 files changed, 12 insertions, 12 deletions
diff --git a/newlib/libc/include/ctype.h b/newlib/libc/include/ctype.h
index 31577d16e..06458cbda 100644
--- a/newlib/libc/include/ctype.h
+++ b/newlib/libc/include/ctype.h
@@ -5,7 +5,7 @@
#include <sys/cdefs.h>
#if __POSIX_VISIBLE >= 200809 || __MISC_VISIBLE || defined (_COMPILING_NEWLIB)
-#include <sys/_locale.h>
+#include <xlocale.h>
#endif
_BEGIN_STD_C
diff --git a/newlib/libc/include/langinfo.h b/newlib/libc/include/langinfo.h
index 193cce348..59381d6b6 100644
--- a/newlib/libc/include/langinfo.h
+++ b/newlib/libc/include/langinfo.h
@@ -33,7 +33,7 @@
#include <sys/config.h>
#include <sys/cdefs.h>
#if __POSIX_VISIBLE >= 200809
-#include <sys/_locale.h>
+#include <xlocale.h>
#endif
typedef int nl_item;
diff --git a/newlib/libc/include/locale.h b/newlib/libc/include/locale.h
index 7feb881aa..8ba88a90c 100644
--- a/newlib/libc/include/locale.h
+++ b/newlib/libc/include/locale.h
@@ -23,7 +23,7 @@
#if __POSIX_VISIBLE >= 200809 || defined (_COMPILING_NEWLIB)
-#include <sys/_locale.h>
+#include <xlocale.h>
#define LC_ALL_MASK (1 << LC_ALL)
#define LC_COLLATE_MASK (1 << LC_COLLATE)
diff --git a/newlib/libc/include/stdlib.h b/newlib/libc/include/stdlib.h
index 7b62e004f..9ee32aced 100644
--- a/newlib/libc/include/stdlib.h
+++ b/newlib/libc/include/stdlib.h
@@ -27,7 +27,7 @@
#endif
#if __GNU_VISIBLE
-#include <sys/_locale.h>
+#include <xlocale.h>
#endif
_BEGIN_STD_C
diff --git a/newlib/libc/include/string.h b/newlib/libc/include/string.h
index ba5e51ee7..4e0e15162 100644
--- a/newlib/libc/include/string.h
+++ b/newlib/libc/include/string.h
@@ -17,7 +17,7 @@
#include <stddef.h>
#if __POSIX_VISIBLE >= 200809
-#include <sys/_locale.h>
+#include <xlocale.h>
#endif
_BEGIN_STD_C
diff --git a/newlib/libc/include/strings.h b/newlib/libc/include/strings.h
index be019581c..3331611ab 100644
--- a/newlib/libc/include/strings.h
+++ b/newlib/libc/include/strings.h
@@ -16,7 +16,7 @@
#include <sys/types.h> /* for size_t */
#if __POSIX_VISIBLE >= 200809
-#include <sys/_locale.h>
+#include <xlocale.h>
#endif
_BEGIN_STD_C
diff --git a/newlib/libc/include/time.h b/newlib/libc/include/time.h
index ec67cb25b..8806b98c7 100644
--- a/newlib/libc/include/time.h
+++ b/newlib/libc/include/time.h
@@ -29,7 +29,7 @@
#include <sys/timespec.h>
#if __POSIX_VISIBLE >= 200809
-#include <sys/_locale.h>
+#include <xlocale.h>
#endif
_BEGIN_STD_C
diff --git a/newlib/libc/include/wchar.h b/newlib/libc/include/wchar.h
index 4766ca971..25ee9a880 100644
--- a/newlib/libc/include/wchar.h
+++ b/newlib/libc/include/wchar.h
@@ -64,7 +64,7 @@ typedef __gnuc_va_list va_list;
#endif
#if __POSIX_VISIBLE >= 200809
-#include <sys/_locale.h>
+#include <xlocale.h>
#endif
_BEGIN_STD_C
diff --git a/newlib/libc/include/wctype.h b/newlib/libc/include/wctype.h
index d08537411..3d36d5a92 100644
--- a/newlib/libc/include/wctype.h
+++ b/newlib/libc/include/wctype.h
@@ -8,7 +8,7 @@
#include <stddef.h>
#if __POSIX_VISIBLE >= 200809
-#include <sys/_locale.h>
+#include <xlocale.h>
#endif
#ifndef WEOF
diff --git a/newlib/libc/include/sys/_locale.h b/newlib/libc/include/xlocale.h
index ce6f9955c..f9554269c 100644
--- a/newlib/libc/include/sys/_locale.h
+++ b/newlib/libc/include/xlocale.h
@@ -1,7 +1,7 @@
/* Definition of opaque POSIX-1.2008 type locale_t for userspace. */
-#ifndef _SYS__LOCALE_H
-#define _SYS__LOCALE_H
+#ifndef _XLOCALE_H
+#define _XLOCALE_H
#include <newlib.h>
#include <sys/config.h>
@@ -9,4 +9,4 @@
struct __locale_t;
typedef struct __locale_t *locale_t;
-#endif /* _SYS__LOCALE_H */
+#endif /* _XLOCALE_H */