From patchwork Thu Sep 29 21:12:48 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella X-Patchwork-Id: 77144 Delivered-To: patch@linaro.org Received: by 10.140.106.72 with SMTP id d66csp571917qgf; Thu, 29 Sep 2016 14:13:24 -0700 (PDT) X-Received: by 10.98.27.195 with SMTP id b186mr5714190pfb.111.1475183604631; Thu, 29 Sep 2016 14:13:24 -0700 (PDT) Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id z6si2159261pfd.22.2016.09.29.14.13.24 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 29 Sep 2016 14:13:24 -0700 (PDT) Received-SPF: pass (google.com: domain of libc-alpha-return-73618-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 libc-alpha-return-73618-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=libc-alpha-return-73618-patch=linaro.org@sourceware.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.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=cwglQ4hbfn22NRoBNFOFMlNNKpu6ZG9e2kqJ+8hsdu+JiW6rLdGXZ 3FnwUIIGjdC6VWw3sW9Av+i2Nk1D5FfVmaMoY9UbSTjZhA3pnJ0AoYHSeDtLCZhp 16Ca6bgqjzDft1g57WS21wajZNnqu38AVbRjCw2sP36fLKrrfnP6bI= 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=RerDCUcBBRH3AxmRmRXtkUqUlVM=; b=Jp3/086UN+NDPPLgSpuibg8Vt3H/ aS3yjCeAXMvP9X7I0q223LEm/vY6lGPF0HJ97TKPI10Zq++aRui0BGMq/IPuIGnK LiTWhzj6RijsSKMglDF+S9+BrXCG+dVewcgI7O0o6tGUDj9h30Zs6HERNS+WlIoX wDk5SeRefYzOh6A= Received: (qmail 5199 invoked by alias); 29 Sep 2016 21:13:15 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 5182 invoked by uid 89); 29 Sep 2016 21:13:15 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_SPAM, SPF_PASS autolearn=no version=3.3.2 spammy=HX-Received:10.66.190.161, xxx X-HELO: mail-pa0-f47.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id; bh=PMV53P5xcUIjiici9qKtyDpZogFJqaMDVnPsekrJU6g=; b=G1l2kMzm6/ciXCQmhn4AvxTIrVDY4/YQX7CzejKbZDEYvnstxopnMDl6ZCLvoMObL4 HOG6lyZyxv4ivoQshlkO5+mduZSlhgZMLibQM3/5GH5KTMjyHxKwLbxBQ+Eo0V0G1hX8 zxycLmVGJOsGYBOyAkSkIIfRtFIGXR1XiyjP3lgw8RZvHg2xtEuLkhgWuklhbJptTlv8 tzGMw8whgdNFWrqsNCDyFZiDjZMyCqiRrU34TuxrhwOm2ELv20iC0ErleZf8PIKq0iyV YmXTX6W+SLkOMTUQKGAXaq9BuiADoKLzDEaZfQKmxorEAuo+dTLMRE9bJGS9j8j97tbF dQSA== X-Gm-Message-State: AA6/9RlbGEOxztz3RyhEHnTPbagVfEqbleg4oNR8poKk02geCYW8J6l5xOtfX+AMnXpcJ/EC X-Received: by 10.66.190.161 with SMTP id gr1mr5732639pac.156.1475183583390; Thu, 29 Sep 2016 14:13:03 -0700 (PDT) From: Adhemerval Zanella X-Google-Original-From: Adhemerval Zanella To: libc-alpha@sourceware.org Subject: [PATCH] Remove C++ style comments from string3.h Date: Thu, 29 Sep 2016 14:12:48 -0700 Message-Id: <1475183568-13773-1-git-send-email-adhemerval.zanella@linaro.com> The new check-installed-headers rule check now complains with C++ comment from string3.h with: ../string/bits/string3.h:129:1: error: C++ style comments are not allowed in ISO C90 // XXX We have no corresponding builtin yet. Let use old C style comment to make compiler happy in old modes. Tested on x86_64. * string/bits/string3.h: Remove C++ style comments. --- ChangeLog | 4 ++++ string/bits/string3.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) -- 2.7.4 diff --git a/string/bits/string3.h b/string/bits/string3.h index dd8db68..8f13b65 100644 --- a/string/bits/string3.h +++ b/string/bits/string3.h @@ -126,7 +126,7 @@ __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); } -// XXX We have no corresponding builtin yet. +/* XXX We have no corresponding builtin yet. */ extern char *__stpncpy_chk (char *__dest, const char *__src, size_t __n, size_t __destlen) __THROW; extern char *__REDIRECT_NTH (__stpncpy_alias, (char *__dest, const char *__src,