public inbox for newlib-cvs@sourceware.org help / color / mirror / Atom feed
From: Corinna Vinschen <corinna@sourceware.org> To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] Use struct __locale_t * for reentrent locale functions Date: Thu, 25 Aug 2016 07:55:00 -0000 [thread overview] Message-ID: <20160825075528.28633.qmail@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=14228e2d0fe69ff12290f8859d14eecb4095396f commit 14228e2d0fe69ff12290f8859d14eecb4095396f Author: Corinna Vinschen <corinna@vinschen.de> Date: Thu Aug 25 09:53:01 2016 +0200 Use struct __locale_t * for reentrent locale functions This fixes a build problem since locale_t is only defined if __POSIX_VISIBLE >= 200809. Signed-off-by: Corinna Vinschen <corinna@vinschen.de> Diff: --- newlib/libc/include/locale.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/newlib/libc/include/locale.h b/newlib/libc/include/locale.h index 4fb7875..446dbd9 100644 --- a/newlib/libc/include/locale.h +++ b/newlib/libc/include/locale.h @@ -71,10 +71,10 @@ 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 *, locale_t); -void _freelocale_r (struct _reent *, locale_t); -locale_t _duplocale_r (struct _reent *, locale_t); -locale_t _uselocale_r (struct _reent *, locale_t); +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 *); #ifndef _REENT_ONLY
reply other threads:[~2016-08-25 7:55 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20160825075528.28633.qmail@sourceware.org \ --to=corinna@sourceware.org \ --cc=newlib-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).