public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] Remove extern declaration of __locale_cjk_lang in string/local.h
@ 2016-08-21 10:30 Corinna Vinschen
  0 siblings, 0 replies; only message in thread
From: Corinna Vinschen @ 2016-08-21 10:30 UTC (permalink / raw)
  To: newlib-cvs

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=5085ce21063a9edaff9856b0caf3a76adcbf68e8

commit 5085ce21063a9edaff9856b0caf3a76adcbf68e8
Author: Corinna Vinschen <corinna@vinschen.de>
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 <corinna@vinschen.de>

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-08-21 10:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-21 10:30 [newlib-cygwin] Remove extern declaration of __locale_cjk_lang in string/local.h Corinna Vinschen

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).