From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3045 invoked by alias); 25 Aug 2016 14:05:39 -0000 Mailing-List: contact newlib-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-cvs-owner@sourceware.org Received: (qmail 2978 invoked by uid 9078); 25 Aug 2016 14:05:39 -0000 Date: Thu, 25 Aug 2016 14:05:00 -0000 Message-ID: <20160825140539.2975.qmail@sourceware.org> Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Corinna Vinschen To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] Drop duplicate _ctype_ declaration from ctype_.h X-Act-Checkin: newlib-cygwin X-Git-Author: Corinna Vinschen X-Git-Refname: refs/heads/master X-Git-Oldrev: e97109184ab0a2de680a90a432d94f86e5be7b0f X-Git-Newrev: b690df6bbdbf3cd2e92601e078f8aac535016678 X-SW-Source: 2016-q3/txt/msg00075.txt.bz2 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=b690df6bbdbf3cd2e92601e078f8aac535016678 commit b690df6bbdbf3cd2e92601e078f8aac535016678 Author: Corinna Vinschen 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 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 . */ # 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];