diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2016-08-25 17:27:37 +0200 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2016-08-25 17:27:37 +0200 |
commit | de8b81950dcf0418f5412cfeab7bd6950c296905 (patch) | |
tree | 06e745255388f873a29c0e0f79dc168db54a7d2d /newlib | |
parent | b690df6bbdbf3cd2e92601e078f8aac535016678 (diff) | |
download | cygnal-de8b81950dcf0418f5412cfeab7bd6950c296905.tar.gz cygnal-de8b81950dcf0418f5412cfeab7bd6950c296905.tar.bz2 cygnal-de8b81950dcf0418f5412cfeab7bd6950c296905.zip |
Change return type from locale_t to struct __locale_t * as well
Complements commit 14228e2.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'newlib')
-rw-r--r-- | newlib/libc/include/locale.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/newlib/libc/include/locale.h b/newlib/libc/include/locale.h index 446dbd9d4..7feb881aa 100644 --- a/newlib/libc/include/locale.h +++ b/newlib/libc/include/locale.h @@ -71,10 +71,11 @@ struct _reent; char *_EXFUN(_setlocale_r,(struct _reent *, int, const char *)); struct lconv *_EXFUN(_localeconv_r,(struct _reent *)); -locale_t _newlocale_r (struct _reent *, int, const char *, struct __locale_t *); +struct __locale_t *_newlocale_r (struct _reent *, int, const char *, + struct __locale_t *); void _freelocale_r (struct _reent *, struct __locale_t *); -locale_t _duplocale_r (struct _reent *, struct __locale_t *); -locale_t _uselocale_r (struct _reent *, struct __locale_t *); +struct __locale_t *_duplocale_r (struct _reent *, struct __locale_t *); +struct __locale_t *_uselocale_r (struct _reent *, struct __locale_t *); #ifndef _REENT_ONLY |