From 5085ce21063a9edaff9856b0caf3a76adcbf68e8 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Sun, 21 Aug 2016 12:14:32 +0200 Subject: [PATCH] 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 --- 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 babaad0e5..afef7e34a 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