From patchwork Thu Dec 7 18:19:08 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yaakov Selkowitz X-Patchwork-Id: 121068 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp8702974qgn; Thu, 7 Dec 2017 10:29:12 -0800 (PST) X-Google-Smtp-Source: AGs4zMZXKybiLuyMgUK4vi8Wc3n4YZOsIvEo+Hox0N4QVBvVzAlzg1laEX+8mKYiLkTo8tTChSNv X-Received: by 10.84.130.33 with SMTP id 30mr27604565plc.161.1512671352588; Thu, 07 Dec 2017 10:29:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512671352; cv=none; d=google.com; s=arc-20160816; b=A4Z+244b6Hu62tfK35RkhKk+ndL33BTcowQqYn9wSZQWPts2WIPSA1iWFF+c076eiP p+D/lKKEaEH5DMLutBcdXkwL76TRK5MLd2nZLWpuCWkmECuI9FMc7EuOqkY5xftll5y3 bJg+DW18rqJvXOcOODPQ4oabFn9EiGdS9lnQ1l2O26rnpfxsr5OFiqkOqCRp72ZXJ+9B SpFrHwLL1zQa+zGeTFoKa0iKA4HKIQ3I7i2Xkn3lEIU8nBFLvd9ZrsqyKva42kbAxFpJ lOfGkpNIXpg/fyYNDxczYbx/9Wxg+rwIEcyMl1YkxkK+hYtN1fY3PLz/gQ4fJixocrbb wUAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:to:from:delivered-to :sender:list-help:list-post:list-archive:list-subscribe :list-unsubscribe:list-id:precedence:mailing-list:dkim-signature :domainkey-signature:arc-authentication-results; bh=IW9NstUtfVWKjsK9qZNewDQtXxTyISoVQsVM5dtsNlI=; b=N+sGLRnB5mAOuNpeaaGRHLM9bmJKpVv5OI+b6539k4UqApnf2QdRCGOFh2nDE9KjfP 5uaJx0s85+ZInuKkefgHGePNKsXGKVL15sk8ltSF6EqNXGdzW3SQQgkd8PSIDyO3mZic GaQL2MMX2rCLQw0hW6Y22fGeHPMFvzl+aLnxLrYbL77EyQxWjmxyuNvvSTB8WrlpD55c ebVEnqy2qeCFxi9jXnTCmXbKfB1Gvi+ZIkDOT3O7giSLjB5zDTiI0U+GPjMffu+NJ/CM tCJRBsCSbv4on+kxwxVzqhYcJ8fQHskvQ9RElyo5QVb7pH4T0XKGKPGEOEatnAsI4Ydm N+GQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=otn/cvM2; spf=pass (google.com: domain of newlib-return-15501-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=newlib-return-15501-patch=linaro.org@sourceware.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id a6si4082410pgd.708.2017.12.07.10.29.12 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 Dec 2017 10:29:12 -0800 (PST) Received-SPF: pass (google.com: domain of newlib-return-15501-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 header.s=default header.b=otn/cvM2; spf=pass (google.com: domain of newlib-return-15501-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=newlib-return-15501-patch=linaro.org@sourceware.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com 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:in-reply-to :references; q=dns; s=default; b=wDP65hWuQoKeplLhX/ikE7Si/FfgzKs Ks48qiOIJvW/HippldgWYqGf1bKJ8kWCLetmE5qg/jDbL2/x4IlvhYReeitM38XE crVsIeDDb+CLS6WWrQuBpUW/qnlV4bHYiIKRv2nEUMuNUWGbkuCkSs7g5suN78QW TMIDChnoP6Dg= 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:in-reply-to :references; s=default; bh=S89JaPYHLRACeOtQOYGfICy3q5s=; b=otn/c vM2nRiqEy+JmiH9VsFqOc/s3AjAy4GzKCf/Lx6jNBYooqaEBjDwpPjdZXuqidanV LzqxM8u01Z5r/zrbPHMbZX6YAXS+H5Hnh2wUMixZi3Rj3P7NNPY4Rcib9x3BOijb +FEQfRqCZhOA1SK2lgOL46RhzXzufct7cIeIMw= Received: (qmail 36060 invoked by alias); 7 Dec 2017 18:29: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 36047 invoked by uid 89); 7 Dec 2017 18:29:01 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_HELO_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy= 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, 07 Dec 2017 18:29:00 +0000 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 7FE8C7CBA5 for ; Thu, 7 Dec 2017 18:20:12 +0000 (UTC) Received: from localhost.localdomain (ovpn-120-70.rdu2.redhat.com [10.10.120.70]) by smtp.corp.redhat.com (Postfix) with ESMTPS id F06EB7D89A for ; Thu, 7 Dec 2017 18:20:11 +0000 (UTC) From: Yaakov Selkowitz To: newlib@sourceware.org Subject: [PATCH v2 16/17] ansification: fix makedoc for ANSI C Date: Thu, 7 Dec 2017 12:19:08 -0600 Message-Id: <20171207181909.1112-17-yselkowi@redhat.com> In-Reply-To: <20171207181909.1112-1-yselkowi@redhat.com> References: <20171207181909.1112-1-yselkowi@redhat.com> Signed-off-by: Yaakov Selkowitz --- newlib/doc/makedoc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.15.1 diff --git a/newlib/doc/makedoc.c b/newlib/doc/makedoc.c index 45ddfb81e..23d5e2a04 100644 --- a/newlib/doc/makedoc.c +++ b/newlib/doc/makedoc.c @@ -1276,13 +1276,13 @@ DEFUN(compile, (string), /* Got a number, embedd the magic push number function */ add_to_definition(ptr, push_number); - add_to_definition(ptr, atol(word)); + add_to_definition(ptr, (stinst_type)atol(word)); break; default: add_to_definition(ptr, call); lookup = lookup_word(word); if (!lookup) ret++; - add_to_definition(ptr, lookup); + add_to_definition(ptr, (stinst_type)lookup); } string = nextword(string, &word);