From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 33835 invoked by alias); 21 Aug 2016 10:30:15 -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 33610 invoked by uid 9078); 21 Aug 2016 10:30:03 -0000 Date: Sun, 21 Aug 2016 10:30:00 -0000 Message-ID: <20160821103003.33608.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] Remove extern declaration of __locale_cjk_lang in string/local.h X-Act-Checkin: newlib-cygwin X-Git-Author: Corinna Vinschen X-Git-Refname: refs/heads/master X-Git-Oldrev: 0df76cbd63477cc33ad7e0444d49557e906c4c74 X-Git-Newrev: 5085ce21063a9edaff9856b0caf3a76adcbf68e8 X-SW-Source: 2016-q3/txt/msg00058.txt.bz2 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=5085ce21063a9edaff9856b0caf3a76adcbf68e8 commit 5085ce21063a9edaff9856b0caf3a76adcbf68e8 Author: Corinna Vinschen Date: Sun Aug 21 12:14:32 2016 +0200 Remove extern declaration of __locale_cjk_lang in string/local.h Now that __locale_cjk_lang is an inline function in setlocale.h and setlocale.h is included, the declaration doesn't make sense. Signed-off-by: Corinna Vinschen Diff: --- newlib/libc/string/local.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/newlib/libc/string/local.h b/newlib/libc/string/local.h index babaad0..afef7e3 100644 --- a/newlib/libc/string/local.h +++ b/newlib/libc/string/local.h @@ -4,10 +4,6 @@ /* internal function to compute width of wide char. */ int _EXFUN (__wcwidth, (wint_t)); -/* Defined in locale/locale.c. Returns a value != 0 if the current - language is assumed to use CJK fonts. */ -int _EXFUN (__locale_cjk_lang, (void)); - /* Taken from glibc: Add the compiler optimization to inhibit loop transformation to library