summaryrefslogtreecommitdiffstats
path: root/newlib/libc/include
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/include')
-rw-r--r--newlib/libc/include/locale.h6
-rw-r--r--newlib/libc/include/sys/reent.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/newlib/libc/include/locale.h b/newlib/libc/include/locale.h
index c7bfd5996..40e412451 100644
--- a/newlib/libc/include/locale.h
+++ b/newlib/libc/include/locale.h
@@ -29,10 +29,10 @@
#define LC_TIME_MASK (1 << LC_TIME)
#define LC_MESSAGES_MASK (1 << LC_MESSAGES)
-#define LC_GLOBAL_LOCALE ((struct _thr_locale_t *) -1)
+#define LC_GLOBAL_LOCALE ((struct __locale_t *) -1)
-struct _thr_locale_t;
-typedef struct _thr_locale_t *locale_t;
+struct __locale_t;
+typedef struct __locale_t *locale_t;
#endif
_BEGIN_STD_C
diff --git a/newlib/libc/include/sys/reent.h b/newlib/libc/include/sys/reent.h
index 16716dd7d..bd32320a6 100644
--- a/newlib/libc/include/sys/reent.h
+++ b/newlib/libc/include/sys/reent.h
@@ -40,7 +40,7 @@ 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 _thr_locale_t;
+struct __locale_t;
/*
* If _REENT_SMALL is defined, we make struct _reent as small as possible,
@@ -391,7 +391,7 @@ struct _reent
/* TODO */
int _unspecified_locale_info; /* unused, reserved for locale stuff */
- struct _thr_locale_t *_locale;/* per-thread locale */
+ struct __locale_t *_locale;/* per-thread locale */
struct _mprec *_mp;
@@ -584,7 +584,7 @@ struct _reent
/* TODO */
int _unspecified_locale_info; /* unused, reserved for locale stuff */
- struct _thr_locale_t *_locale;/* per-thread locale */
+ struct __locale_t *_locale;/* per-thread locale */
int __sdidinit; /* 1 means stdio has been init'd */