From patchwork Thu Aug 11 19:17:47 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yaakov Selkowitz X-Patchwork-Id: 73814 Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp263658qga; Thu, 11 Aug 2016 12:18:09 -0700 (PDT) X-Received: by 10.66.127.10 with SMTP id nc10mr19815751pab.109.1470943089465; Thu, 11 Aug 2016 12:18:09 -0700 (PDT) Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id 192si4500958pfw.133.2016.08.11.12.18.09 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Aug 2016 12:18:09 -0700 (PDT) Received-SPF: pass (google.com: domain of newlib-return-13971-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org; spf=pass (google.com: domain of newlib-return-13971-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=newlib-return-13971-patch=linaro.org@sourceware.org DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id; q=dns; s= default; b=ACCfgerzmP9ml3PMImC0ZhMuP4wbykhmJDt0JFGKc2Y5S+X/wez5q r/YA1rNsqlbvQmPpFVqQaidV0R17qwmLDNUxjLihL4re1mh9EGvbjj/3gSY9QFAZ ETaBerkojyblSNrXcOCmGn+hBA6gOuedAIwjvaMRRhhabI8vDOyVE8= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id; s=default; bh=LKlD4NwyOnT0N/fy+q112Jt2MWk=; b=mx4eG2eTbLXBLo42Q926MXixVzSv 4Rnux5N1Sc7vOj81gnD11XZ9I7ORFLO7LBn8M1yik82L1qKe7eWAbRe1Ds8BbyLT CCzLIyjvRpAcHuBfgjBtAj/cjabvBeOjXKdh4MDdPYErSqIyUmGzVYRZTv7xh1RR IR4tqSYZ+bA+P6g= Received: (qmail 65465 invoked by alias); 11 Aug 2016 19:18:01 -0000 Mailing-List: contact newlib-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-owner@sourceware.org Delivered-To: mailing list newlib@sourceware.org Received: (qmail 65432 invoked by uid 89); 11 Aug 2016 19:17:58 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=BAYES_00, RP_MATCHES_RCVD, SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=sk:yselkow, overhaul, U*yselkowi, _EXFUN X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 11 Aug 2016 19:17:57 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 1470C80F6C for ; Thu, 11 Aug 2016 19:17:56 +0000 (UTC) Received: from localhost.localdomain (ovpn-116-66.rdu2.redhat.com [10.10.116.66]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u7BJHsKr023199 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 11 Aug 2016 15:17:55 -0400 From: Yaakov Selkowitz To: newlib@sourceware.org Subject: [PATCH] Feature test macros overhaul: wctype.h Date: Thu, 11 Aug 2016 14:17:47 -0500 Message-Id: <20160811191747.2788-1-yselkowi@redhat.com> iswblank was first introduced in C99. Signed-off-by: Yaakov Selkowitz --- newlib/libc/include/wctype.h | 2 ++ 1 file changed, 2 insertions(+) -- 2.8.3 diff --git a/newlib/libc/include/wctype.h b/newlib/libc/include/wctype.h index c72c9de..0e335ec 100644 --- a/newlib/libc/include/wctype.h +++ b/newlib/libc/include/wctype.h @@ -25,7 +25,9 @@ typedef int wctrans_t; int _EXFUN(iswalpha, (wint_t)); int _EXFUN(iswalnum, (wint_t)); +#if __ISO_C_VISIBLE >= 1999 int _EXFUN(iswblank, (wint_t)); +#endif int _EXFUN(iswcntrl, (wint_t)); int _EXFUN(iswctype, (wint_t, wctype_t)); int _EXFUN(iswdigit, (wint_t));