From patchwork Thu Nov 30 10:28:50 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yaakov Selkowitz X-Patchwork-Id: 120109 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp486674qgn; Thu, 30 Nov 2017 02:30:20 -0800 (PST) X-Google-Smtp-Source: AGs4zMYoIIt9fLPvoZA7tmUo3ToikV0Dkfj+UtfVy0hl3vaRdKzoU+u+HE93wvfKB1U4HhPuJPuQ X-Received: by 10.84.235.140 with SMTP id p12mr2081034plk.153.1512037820100; Thu, 30 Nov 2017 02:30:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512037820; cv=none; d=google.com; s=arc-20160816; b=taVerIa5TU05E8Yop6MIYvz0zFo35JYLefaPh726XFkVFCQTVymHtfN3Gh79IJv3MU YWkbiwfrFDo9n7NcAUHKlvL09WmRTw2lsof46lxtB3bn/io3FwtWoNyFxR3gVpk5KxZd hsGiGxPOfWme/K5WlMnKobgAjvFL3jWBoeXRnZiju5Dj7uNPL/u/mMcGUH86nxo3Tat+ 2jxPmwiB6HBxwl8ttvHUr9G7mOIVQsTu+sebUonNCF91E3KCy3RiNnXDC9bD6arYYf48 Lns0zhVcNBfcjoQzYUY2JjaocjqHCg/fvmGW+IKF9k/CUuDunRXQO0qGfN9CyT2frl68 J+/Q== 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=x7t2XyGdDc4keewxyzO3z0U90rRwaG+aYZCh9NvHrWA=; b=QJN3mm76DNPl7eglJ0hUFCr1Kw1JrT9kYkDttBwU1idJdURxiC+0fO1yC+IqimKsml nyYl4RwpFLvMoZvKGUnS6RuvmctlvUMi89vh5W5qLrUZAFQpHQsAaDsiY2wwDogcqvi8 qBmapZn8aong9vEjwLWJIkGHrzDzlg97y0/CgY+ITggCSCjicdTTXBtKwRejuVeMYAhX jMVff5EbhypGa0tabmbaZb3nUlnZE/e0fTL/mOHc4TUcwoaQY5f8Pv5FZpuyLkyDyPx4 QuGIoXKXeDzxc+0EV7rG1bEfdKdVtq+tmWVPoNAKARAth8LlMLrC87onDattXMr93+98 5EDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=dbtA7G5+; spf=pass (google.com: domain of newlib-return-15424-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=newlib-return-15424-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 92si2869882pli.692.2017.11.30.02.30.19 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Nov 2017 02:30:20 -0800 (PST) Received-SPF: pass (google.com: domain of newlib-return-15424-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=dbtA7G5+; spf=pass (google.com: domain of newlib-return-15424-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=newlib-return-15424-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=cE1C/JWIbt/+eql6PPspcENQguS1//5 OuS/LGUm7GSp/XJZzzt+PtugW9hlVN7r90B/EqnQrxRBqzsOH+Yb5re0U2zHgZ5Q mMsItLZqNHSUTsGrIwn3wGrWRsIncmSYKahpk93I8EmZQAmFG9VVhT3Mk3xMhKu0 UnN4bfAso5fw= 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=sU+D3Hc6a1RDK+2od0uqY+IjTQU=; b=dbtA7 G5+7RxkgJ94fO+vDOwUU8ui8Mwyz4DYLi+nZX/GIyaK0d5DwhdfUxVnXrt/TQs10 eBWGMVwlYzSQuPACu736v7juwZCpcz76NkVHz+RHpLQqfYFn2vHGvxkGNtZn6I2Z bUVwDu8m8VX9spauzRPwJDnCk9XDpILGj2XGk0= Received: (qmail 85030 invoked by alias); 30 Nov 2017 10:29:19 -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 85010 invoked by uid 89); 30 Nov 2017 10:29:19 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.7 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KB_WAM_FROM_NAME_SINGLEWORD, SPF_HELO_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=2720 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:17 +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 436867F41D for ; Thu, 30 Nov 2017 10:29:16 +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 023254DA0B for ; Thu, 30 Nov 2017 10:29:15 +0000 (UTC) From: Yaakov Selkowitz To: newlib@sourceware.org Subject: [PATCH 16/24] sys: remove TRAD_SYNOPSIS Date: Thu, 30 Nov 2017 04:28:50 -0600 Message-Id: <20171130102858.16160-17-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/sys/linux/getdate.c | 11 +---------- newlib/libc/sys/linux/pread64.c | 10 +--------- newlib/libc/sys/linux/pwrite64.c | 10 +--------- newlib/libc/sys/rdos/getenv.c | 7 +------ 4 files changed, 4 insertions(+), 34 deletions(-) -- 2.15.0 diff --git a/newlib/libc/sys/linux/getdate.c b/newlib/libc/sys/linux/getdate.c index 5c056c750..0e689f99a 100644 --- a/newlib/libc/sys/linux/getdate.c +++ b/newlib/libc/sys/linux/getdate.c @@ -27,20 +27,11 @@ INDEX INDEX getdate_r -ANSI_SYNOPSIS +SYNOPSIS #include struct tm *getdate(const char *<[string]>); int getdate_r(const char *<[string]>, struct tm *<[res]>); -TRAD_SYNOPSIS - #include - struct tm *getdate(<[string]>); - const char *<[string]>; - - int getdate_r(<[string]>, <[res]>); - const char *<[string]>; - struct tm *<[res]>; - DESCRIPTION <> reads a file which is specified by the environment variable: DATEMSK. This file contains a number of formats valid for input to the diff --git a/newlib/libc/sys/linux/pread64.c b/newlib/libc/sys/linux/pread64.c index c4bdca706..3ced04818 100644 --- a/newlib/libc/sys/linux/pread64.c +++ b/newlib/libc/sys/linux/pread64.c @@ -5,18 +5,10 @@ FUNCTION INDEX pread64 -ANSI_SYNOPSIS +SYNOPSIS #include ssize_t pread64(int <[fd]>, void *<[buf]>, size_t <[n]>, loff_t <[off]>); -TRAD_SYNOPSIS - #include - ssize_t pread64(<[fd]>, <[buf]>, <[n]>, <[off]>) - int <[fd]>; - void *<[buf]>; - size_t <[n]>; - loff_t <[off]>; - DESCRIPTION The <> function is similar to <>. The only difference is that it operates on large files and so takes a 64-bit offset. Like <>>, diff --git a/newlib/libc/sys/linux/pwrite64.c b/newlib/libc/sys/linux/pwrite64.c index f1d678493..876749943 100644 --- a/newlib/libc/sys/linux/pwrite64.c +++ b/newlib/libc/sys/linux/pwrite64.c @@ -5,18 +5,10 @@ FUNCTION INDEX pwrite64 -ANSI_SYNOPSIS +SYNOPSIS #include ssize_t pwrite64(int <[fd]>, void *<[buf]>, size_t <[n]>, loff_t <[off]>); -TRAD_SYNOPSIS - #include - ssize_t pwrite64(<[fd]>, <[buf]>, <[n]>, <[off]>) - int <[fd]>; - void *<[buf]>; - size_t <[n]>; - loff_t <[off]>; - DESCRIPTION The <> function is similar to <>. The only difference is that it operates on large files and so takes a 64-bit offset. Like <>>, diff --git a/newlib/libc/sys/rdos/getenv.c b/newlib/libc/sys/rdos/getenv.c index 933ea4d76..1787769e3 100644 --- a/newlib/libc/sys/rdos/getenv.c +++ b/newlib/libc/sys/rdos/getenv.c @@ -32,15 +32,10 @@ INDEX INDEX environ -ANSI_SYNOPSIS +SYNOPSIS #include char *getenv(const char *<[name]>); -TRAD_SYNOPSIS - #include - char *getenv(<[name]>) - char *<[name]>; - DESCRIPTION <> searches the list of environment variable names and values (using the global pointer ``<>'') for a variable whose