From patchwork Thu Nov 30 10:28:45 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yaakov Selkowitz X-Patchwork-Id: 120107 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp486391qgn; Thu, 30 Nov 2017 02:30:00 -0800 (PST) X-Google-Smtp-Source: AGs4zMYk2waiEJ2EUy/4XIDWKnrvd04NfpNiyOMm4KIEdFNDobfQOHppezgBXSGqFtCHxdsFm0aM X-Received: by 10.159.202.141 with SMTP id p13mr2091924plo.432.1512037800221; Thu, 30 Nov 2017 02:30:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512037800; cv=none; d=google.com; s=arc-20160816; b=yVIKqYIRxBHLn8IC9Crak4gJ2OdP2IdgRLQHQMfQAPL7/UykDefpw1jjSDvxltllcw 9z8hPSwKFalZH61MQ4iYUBoYBHDC9HffWT0bdyM1BoDnGVivuy/XhmiRaFxtckxgr5eI BuYuBm9QYhP67mLUSeiQgwKb0LqJngI7Bona4Uw/Z1NzRhB5CtFfWv6ebX8KP0hDNulV 0bcc7T2i3GB0qQZm3oDUPBewOraalKoSStYKrH1ZnTBPvQwq/egHPXvnWyuXRZWxrMBW t9FELVkr607i3xfBBCqNbD7/vq6gSVLLK/+wmueebFnDQ+dm6D76yN5Oc/E4NDG8pOcU pLaw== 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=fp72EqLBgV+uJ5SNY5NC4CKHTMuaEpNNz5ZqdhAJYtE=; b=LvEuvX24+BdZyet99AmnKE622cKh3OVfSJPbjP6Zr9wSfgrtayCccN4Wig0/8DvhsN bSi4LKbYwdcbDHptBvvXOEUjdBidDSxdw3m7yQw9WX0l5xX+QTFjO12HmV+xk2ogyh4s ET3MYaAKA1Vl2ocR29snGBpUgllN2z5qaF+d5symEG6dKhTMxqhjzHTegfaXPXggnKRa 5AENOI2uguACSUAITUd2xalkkAulNRKz+CointcqjPuXkbjf+dSbfS1plspM2BKqkmvX ZD7S+RXL05tRJqPyNDneSBPDcckyKtk3EebI3fE2lRrJqv7EJlT/L0Dl+Y0LMT1RYT2f a7jg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=lFOaicZM; spf=pass (google.com: domain of newlib-return-15422-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=newlib-return-15422-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 n17si2838174pgc.162.2017.11.30.02.29.59 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Nov 2017 02:30:00 -0800 (PST) Received-SPF: pass (google.com: domain of newlib-return-15422-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=lFOaicZM; spf=pass (google.com: domain of newlib-return-15422-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=newlib-return-15422-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=cZB6hazAQNJXjSGomLWVjyWrOPttq7o Cb2tCR3gbol58kKxAWGV8w/VDtJN930HW2GNik0LgDIqP+97vaIUxpQLQ1n0Dbsb qpNJD+h5+ubDXHCVnBrn49ekZWIFytKSK63lCwVZ/k3qWuqFUhws4JLacUOopTlZ L9KKFKiPt1vk= 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=GFGdxe5TK47N8YlQ8tb1rzIrRLM=; b=lFOai cZMnFi361o9cFd0bigRDQZ8c64w5maiAG1CWLMD6/RI4kr+P/wG/rmMKSXCrzflw SSqawwFddBzIRA06r3dVJfjWX6t60U1ouyQ2Gdqs9q/hmR2Miajtb0Oye8yNGg61 SdWwXP3rePjT20gj3Ek8Guw8hA5oArQkZ/x+YM= Received: (qmail 84550 invoked by alias); 30 Nov 2017 10:29:15 -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 84499 invoked by uid 89); 30 Nov 2017 10:29:15 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-25.7 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_LAZY_DOMAIN_SECURITY, KB_WAM_FROM_NAME_SINGLEWORD, SPF_HELO_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=1212 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, 30 Nov 2017 10:29:13 +0000 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id B7147C01F290 for ; Thu, 30 Nov 2017 10:29:12 +0000 (UTC) Received: from localhost.localdomain (ovpn-116-45.phx2.redhat.com [10.3.116.45]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 755774DA0B for ; Thu, 30 Nov 2017 10:29:12 +0000 (UTC) From: Yaakov Selkowitz To: newlib@sourceware.org Subject: [PATCH 11/24] signal: remove TRAD_SYNOPSIS Date: Thu, 30 Nov 2017 04:28:45 -0600 Message-Id: <20171130102858.16160-12-yselkowi@redhat.com> In-Reply-To: <20171130102858.16160-1-yselkowi@redhat.com> References: <20171130102858.16160-1-yselkowi@redhat.com> Signed-off-by: Yaakov Selkowitz --- newlib/libc/signal/psignal.c | 8 +------- newlib/libc/signal/raise.c | 11 +---------- newlib/libc/signal/signal.c | 13 +------------ 3 files changed, 3 insertions(+), 29 deletions(-) -- 2.15.0 diff --git a/newlib/libc/signal/psignal.c b/newlib/libc/signal/psignal.c index 4638518da..f2cfdf3ff 100644 --- a/newlib/libc/signal/psignal.c +++ b/newlib/libc/signal/psignal.c @@ -6,16 +6,10 @@ FUNCTION INDEX psignal -ANSI_SYNOPSIS +SYNOPSIS #include void psignal(int <[signal]>, const char *<[prefix]>); -TRAD_SYNOPSIS - #include - void psignal(<[signal]>, <[prefix]>) - int <[signal]>; - const char *<[prefix]>; - DESCRIPTION Use <> to print (on standard error) a signal message corresponding to the value of the signal number <[signal]>. diff --git a/newlib/libc/signal/raise.c b/newlib/libc/signal/raise.c index bc47864e8..df3ebb50f 100644 --- a/newlib/libc/signal/raise.c +++ b/newlib/libc/signal/raise.c @@ -12,21 +12,12 @@ INDEX INDEX _raise_r -ANSI_SYNOPSIS +SYNOPSIS #include int raise(int <[sig]>); int _raise_r(void *<[reent]>, int <[sig]>); -TRAD_SYNOPSIS - #include - int raise(<[sig]>) - int <[sig]>; - - int _raise_r(<[reent]>, <[sig]>) - char *<[reent]>; - int <[sig]>; - DESCRIPTION Send the signal <[sig]> (one of the macros from `<>'). This interrupts your program's normal flow of execution, and allows a signal diff --git a/newlib/libc/signal/signal.c b/newlib/libc/signal/signal.c index 183004725..5729f65e3 100644 --- a/newlib/libc/signal/signal.c +++ b/newlib/libc/signal/signal.c @@ -7,23 +7,12 @@ INDEX INDEX _signal_r -ANSI_SYNOPSIS +SYNOPSIS #include void (*signal(int <[sig]>, void(*<[func]>)(int))) (int); void (*_signal_r(void *<[reent]>, int <[sig]>, void(*<[func]>)(int))) (int); -TRAD_SYNOPSIS - #include - char ( * signal(<[sig]>, <[func]>) )() - int <[sig]>; - char ( * <[func]> )(); - - char ( * _signal_r(<[reent]>, <[sig]>, <[func]>) )() - char *<[reent]>; - int <[sig]>; - char ( * <[func]> )(); - DESCRIPTION <> provides a simple signal-handling implementation for embedded targets.