From patchwork Thu Nov 30 10:28:47 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yaakov Selkowitz X-Patchwork-Id: 120108 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp486524qgn; Thu, 30 Nov 2017 02:30:08 -0800 (PST) X-Google-Smtp-Source: AGs4zMabsY/1FcGNEI7dFceJa/hMTaqtBJBd/0wPLTWVK7gDL237M8m4O8oyq/8xo8/D8vDSJ766 X-Received: by 10.99.6.23 with SMTP id 23mr1921738pgg.276.1512037808530; Thu, 30 Nov 2017 02:30:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512037808; cv=none; d=google.com; s=arc-20160816; b=Wz1kOU/DlOeYVysqdx2RjmllcGK7XG5foIvquxAZ/8v4/Q6+wj2lJrhWhmoexHk74I x6jO9LW33kRhaC/Lpm4UvpLR2g2vcRymI1dcVWBFphjM2eYN8sX5i7E6VRgQjiFdkUIM qHToq8zEGm95sHwWnw+kifWZJ3orM7wp3uD/ECexh12WbEjXq2SswDhMi+mqXJKFNYTe Ilvuc9HK/oZasflVsPAVK7uITinvQQ14YZVIcHCUOwFnNcHXabJabqoDe1WxqdGT6LTV LyLUo2Qam+X2MJdCH0EFrE04EEMGEQOS7VL8zqBKbetAc7cPL8EfkSN5ZCE83ync2Wjx xT2A== 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=kf6som9j1M93bjRdmAwqXIYy+tH7zMXkIDL94AeAHcA=; b=DSvS3Nogp4HuzowPKD1OWvpaTnGTWK0PJM58p18PiL2kKbsoqEmoX/f0+HUuBqKHAn XIjKI29FJV1jP+71AIKPsHee5DCW6xF1GqqG7WZOYOW28S6hxv/4jiGypChdJMN09aP5 FxHugc2wJLY83HVWHlGR6XRJms21YY9gWban5tR/MdqjbUpXsqJD00oIf04M94LP+A+O qpwj+fMNZ/0YYmzcfxMLRTHGTnnovWmgOeXnwTm/z1nVkkHw+HM+XwktiLJN1ehcyMi0 0UD+gTNHOlh3Ypylbj+IB3ZHgJ51zSvw2HAjPiKk/pRqMMq6tDeE8UXs2q9tjPVlKjBV DPBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=Mn8fDTBk; spf=pass (google.com: domain of newlib-return-15423-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=newlib-return-15423-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 ba6si2875401plb.655.2017.11.30.02.30.08 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Nov 2017 02:30:08 -0800 (PST) Received-SPF: pass (google.com: domain of newlib-return-15423-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=Mn8fDTBk; spf=pass (google.com: domain of newlib-return-15423-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=newlib-return-15423-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=jq9K9MNBtTEuGVbkLPadmDIeWmzFd27 4MaWGhl+NpK9dSNBucP9Cnpz4rS7+oeiJp5OtoIo0AyXapWjtggjk2kt8I0LSR3f zLaAqN/LaKgmJY9LcJVGnLRTt3qIHir8c9ZXd4csYrFKlPynSGuOQAphB3cMXmq3 1Co8UsWxWpkU= 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=wLrz04xO3fO3CwTo2jHmrHCfwrk=; b=Mn8fD TBkSg1wmKZyOqWSdpX/kkn+ghc+nNRUcK7yk3CfY9qAyPIgVR4X63NR8LE/++2hN hwhG7HdSG20RyDnDd/svqMqfoRmOVe0nhlprHZPuR/aabTKqd5QjLuAync+q04WV 4Iiua6jp7vNzSwMolFZ/lKXATAiCDW1V6I1wLo= Received: (qmail 84785 invoked by alias); 30 Nov 2017 10:29:17 -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 84733 invoked by uid 89); 30 Nov 2017 10:29:17 -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=2gb, 2GB, whence, 2424 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:15 +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 28972820F7 for ; Thu, 30 Nov 2017 10:29:14 +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 D7F3D1750E for ; Thu, 30 Nov 2017 10:29:13 +0000 (UTC) From: Yaakov Selkowitz To: newlib@sourceware.org Subject: [PATCH 13/24] stdio64: remove TRAD_SYNOPSIS Date: Thu, 30 Nov 2017 04:28:47 -0600 Message-Id: <20171130102858.16160-14-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/stdio64/fgetpos64.c | 12 +----------- newlib/libc/stdio64/fopen64.c | 13 +------------ newlib/libc/stdio64/freopen64.c | 15 +-------------- newlib/libc/stdio64/fseeko64.c | 15 +-------------- newlib/libc/stdio64/fsetpos64.c | 13 +------------ newlib/libc/stdio64/ftello64.c | 11 +---------- newlib/libc/stdio64/tmpfile64.c | 9 +-------- 7 files changed, 7 insertions(+), 81 deletions(-) -- 2.15.0 diff --git a/newlib/libc/stdio64/fgetpos64.c b/newlib/libc/stdio64/fgetpos64.c index 36f7ec90b..a1d0a3724 100644 --- a/newlib/libc/stdio64/fgetpos64.c +++ b/newlib/libc/stdio64/fgetpos64.c @@ -7,22 +7,12 @@ INDEX INDEX _fgetpos64_r -ANSI_SYNOPSIS +SYNOPSIS #include int fgetpos64(FILE *<[fp]>, _fpos64_t *<[pos]>); int _fgetpos64_r(struct _reent *<[ptr]>, FILE *<[fp]>, _fpos64_t *<[pos]>); -TRAD_SYNOPSIS - #include - int fgetpos64(<[fp]>, <[pos]>) - FILE *<[fp]>; - _fpos64_t *<[pos]>; - - int _fgetpos64_r(<[ptr]>, <[fp]>, <[pos]>) - FILE *<[fp]>; - _fpos64_t *<[pos]>; - DESCRIPTION Objects of type <> can have a ``position'' that records how much of the file your program has already read. Many of the <> functions diff --git a/newlib/libc/stdio64/fopen64.c b/newlib/libc/stdio64/fopen64.c index 84f7b6e49..60ac73fda 100644 --- a/newlib/libc/stdio64/fopen64.c +++ b/newlib/libc/stdio64/fopen64.c @@ -24,23 +24,12 @@ INDEX INDEX _fopen64_r -ANSI_SYNOPSIS +SYNOPSIS #include FILE *fopen64(const char *<[file]>, const char *<[mode]>); FILE *_fopen64_r(void *<[reent]>, const char *<[file]>, const char *<[mode]>); -TRAD_SYNOPSIS - #include - FILE *fopen64(<[file]>, <[mode]>) - char *<[file]>; - char *<[mode]>; - - FILE *_fopen64_r(<[reent]>, <[file]>, <[mode]>) - char *<[reent]>; - char *<[file]>; - char *<[mode]>; - DESCRIPTION <> is identical to <> except it opens a large file that is potentially >2GB in size. See <> for further details. diff --git a/newlib/libc/stdio64/freopen64.c b/newlib/libc/stdio64/freopen64.c index f7df35407..379462c31 100644 --- a/newlib/libc/stdio64/freopen64.c +++ b/newlib/libc/stdio64/freopen64.c @@ -24,26 +24,13 @@ INDEX INDEX _freopen64_r -ANSI_SYNOPSIS +SYNOPSIS #include FILE *freopen64(const char *<[file]>, const char *<[mode]>, FILE *<[fp]>); FILE *_freopen64_r(struct _reent *<[ptr]>, const char *<[file]>, const char *<[mode]>, FILE *<[fp]>); -TRAD_SYNOPSIS - #include - FILE *freopen64(<[file]>, <[mode]>, <[fp]>) - char *<[file]>; - char *<[mode]>; - FILE *<[fp]>; - - FILE *_freopen64_r(<[ptr]>, <[file]>, <[mode]>, <[fp]>) - struct _reent *<[ptr]>; - char *<[file]>; - char *<[mode]>; - FILE *<[fp]>; - DESCRIPTION Use this variant of <> if you wish to specify a particular file descriptor <[fp]> (notably <>, <>, or <>) for diff --git a/newlib/libc/stdio64/fseeko64.c b/newlib/libc/stdio64/fseeko64.c index 34eee6783..624e91275 100644 --- a/newlib/libc/stdio64/fseeko64.c +++ b/newlib/libc/stdio64/fseeko64.c @@ -24,24 +24,11 @@ INDEX INDEX _fseeko64_r -ANSI_SYNOPSIS +SYNOPSIS #include int fseeko64(FILE *<[fp]>, _off64_t <[offset]>, int <[whence]>); int _fseeko64_r (struct _reent *<[ptr]>, FILE *<[fp]>, _off64_t <[offset]>, int <[whence]>); -TRAD_SYNOPSIS - #include - - int fseeko64(<[fp]>, <[offset]>, <[whence]>); - FILE *<[fp]>; - _off64_t <[offset]>; - int <[whence]>; - - int _fseeko64_r (<[ptr]>, <[fp]>, <[offset]>, <[whence]>); - struct _reent *<[ptr]>; - FILE *<[fp]>; - _off64_t <[offset]>; - int <[whence]>; DESCRIPTION Objects of type <> can have a ``position'' that records how much diff --git a/newlib/libc/stdio64/fsetpos64.c b/newlib/libc/stdio64/fsetpos64.c index 046990d7a..83d99627d 100644 --- a/newlib/libc/stdio64/fsetpos64.c +++ b/newlib/libc/stdio64/fsetpos64.c @@ -7,23 +7,12 @@ INDEX INDEX _fsetpos64_r -ANSI_SYNOPSIS +SYNOPSIS #include int fsetpos64(FILE *<[fp]>, const _fpos64_t *<[pos]>); int _fsetpos64_r(struct _reent *<[ptr]>, FILE *<[fp]>, const _fpos64_t *<[pos]>); -TRAD_SYNOPSIS - #include - int fsetpos64(<[fp]>, <[pos]>) - FILE *<[fp]>; - _fpos64_t *<[pos]>; - - int _fsetpos64_r(<[ptr]>, <[fp]>, <[pos]>) - struct _reent *<[ptr]>; - FILE *<[fp]>; - _fpos64_t *<[pos]>; - DESCRIPTION Objects of type <> can have a ``position'' that records how much of the file your program has already read. Many of the <> functions diff --git a/newlib/libc/stdio64/ftello64.c b/newlib/libc/stdio64/ftello64.c index c4d6da24b..c6226d105 100644 --- a/newlib/libc/stdio64/ftello64.c +++ b/newlib/libc/stdio64/ftello64.c @@ -24,20 +24,11 @@ INDEX INDEX _ftello64_r -ANSI_SYNOPSIS +SYNOPSIS #include _off64_t ftello64(FILE *<[fp]>); _off64_t _ftello64_r(struct _reent *<[ptr]>, FILE *<[fp]>); -TRAD_SYNOPSIS - #include - _off64_t ftello64(<[fp]>) - FILE *<[fp]>; - - _off64_t _ftello64_r(<[ptr]>, <[fp]>) - struct _reent *<[ptr]>; - FILE *<[fp]>; - DESCRIPTION Objects of type <> can have a ``position'' that records how much of the file your program has already read. Many of the <> functions diff --git a/newlib/libc/stdio64/tmpfile64.c b/newlib/libc/stdio64/tmpfile64.c index 98a7d7817..d58aa1472 100644 --- a/newlib/libc/stdio64/tmpfile64.c +++ b/newlib/libc/stdio64/tmpfile64.c @@ -7,19 +7,12 @@ INDEX INDEX _tmpfile64_r -ANSI_SYNOPSIS +SYNOPSIS #include FILE *tmpfile64(void); FILE *_tmpfile64_r(void *<[reent]>); -TRAD_SYNOPSIS - #include - FILE *tmpfile64(); - - FILE *_tmpfile64_r(<[reent]>) - char *<[reent]>; - DESCRIPTION Create a large temporary file (a file which will be deleted automatically), using a name generated by <>. The temporary file is opened with