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] Drop duplicate _ctype_ declaration from ctype_.h
Date: Thu, 25 Aug 2016 14:05:00 -0000 [thread overview]
Message-ID: <20160825140539.2975.qmail@sourceware.org> (raw)
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=b690df6bbdbf3cd2e92601e078f8aac535016678
commit b690df6bbdbf3cd2e92601e078f8aac535016678
Author: Corinna Vinschen <corinna@vinschen.de>
Date: Thu Aug 25 16:05:12 2016 +0200
Drop duplicate _ctype_ declaration from ctype_.h
It's already defined in ctype.h.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diff:
---
newlib/libc/ctype/ctype_.h | 2 +-
newlib/libc/locale/setlocale.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/newlib/libc/ctype/ctype_.h b/newlib/libc/ctype/ctype_.h
index 3b59a27..10a4b42 100644
--- a/newlib/libc/ctype/ctype_.h
+++ b/newlib/libc/ctype/ctype_.h
@@ -11,7 +11,7 @@
#else /* !ALLOW_NEGATIVE_CTYPE_INDEX */
- extern char _ctype_[];
+ /* _ctype_ is declared in <ctype.h>. */
# define DEFAULT_CTYPE_PTR ((char *) _ctype_)
#endif /* !ALLOW_NEGATIVE_CTYPE_INDEX */
diff --git a/newlib/libc/locale/setlocale.h b/newlib/libc/locale/setlocale.h
index daf9323..0931fe5 100644
--- a/newlib/libc/locale/setlocale.h
+++ b/newlib/libc/locale/setlocale.h
@@ -183,7 +183,7 @@ struct __locale_t
int (*mbtowc) (struct _reent *, wchar_t *,
const char *, size_t, mbstate_t *);
int cjk_lang;
- char *ctype_ptr; /* Unused in __global_locale */
+ char *ctype_ptr;
struct lconv lconv;
#ifndef __HAVE_LOCALE_INFO__
char mb_cur_max[2];
reply other threads:[~2016-08-25 14:05 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=20160825140539.2975.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: link
Be 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).