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:
authorCorinna Vinschen <corinna@vinschen.de>2016-07-25 12:47:36 +0300
committerCorinna Vinschen <corinna@vinschen.de>2016-08-15 11:56:58 +0300
commit7156bf842e37fc07009d012c35309c5700f9f7cd (patch)
tree1aacfc2f6bc4468bc19f8caa066764864a60b23e /newlib/libc/include/sys
parent91ebe04042de36aba91cbf22711553a5591c4a5f (diff)
Add sys/_locale.h header and fix up headers
Signed-off by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'newlib/libc/include/sys')
-rw-r--r--newlib/libc/include/sys/_locale.h12
-rw-r--r--newlib/libc/include/sys/reent.h3
2 files changed, 12 insertions, 3 deletions
diff --git a/newlib/libc/include/sys/_locale.h b/newlib/libc/include/sys/_locale.h
new file mode 100644
index 000000000..ce6f9955c
--- /dev/null
+++ b/newlib/libc/include/sys/_locale.h
@@ -0,0 +1,12 @@
+/* Definition of opaque POSIX-1.2008 type locale_t for userspace. */
+
+#ifndef _SYS__LOCALE_H
+#define _SYS__LOCALE_H
+
+#include <newlib.h>
+#include <sys/config.h>
+
+struct __locale_t;
+typedef struct __locale_t *locale_t;
+
+#endif /* _SYS__LOCALE_H */
diff --git a/newlib/libc/include/sys/reent.h b/newlib/libc/include/sys/reent.h
index bd32320a6..07abcb428 100644
--- a/newlib/libc/include/sys/reent.h
+++ b/newlib/libc/include/sys/reent.h
@@ -37,9 +37,6 @@ typedef __uint32_t __ULong;
struct _reent;
-/* TODO: This structure type isn't defined yet. It's supposed to be used
- by locale-specific functions in case a per-thread locale per SUSv4 has
- been specified. */
struct __locale_t;
/*