From patchwork Thu Nov 30 10:28:43 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yaakov Selkowitz X-Patchwork-Id: 120116 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp490868qgn; Thu, 30 Nov 2017 02:34:41 -0800 (PST) X-Google-Smtp-Source: AGs4zMbp1cljUldHKqwhpD9GLoCKF+IGbevJ/8GO7F7t81sbBuzgJ9lUVqtpw696TXoeum1nndYW X-Received: by 10.99.186.70 with SMTP id l6mr1911046pgu.253.1512038081569; Thu, 30 Nov 2017 02:34:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512038081; cv=none; d=google.com; s=arc-20160816; b=y8qfxWGD9Gb++YlsOnYRkZA+qnHAcqVGtPnJ9lDRwJALUMaBWCeeKU2uf3UJrZKgB4 zv4MRXphODv2RdSH3Zo+kZtX66LshVM0jShCQ40DVE6mOhS5XloDOgqSfjzW25BmOkOO TVHg0IpbAU4VyggwDLKI9wDzo/b+MZ9mhhDiKV9VULJPpxpwYhmf7sxr3oBsDw5s8BqS fof8EKUBIsIF5v3kOjZ90FRqnFsn0ShURwYImlzmhwQB0/fds/bSxs3lP1Ci9uHEmaOB 0aUq5ftGpU8uehLg6Z24KupMttf3oT1XLdJ5W4SlUh4yzz7lO/XmaSGxGGcjt5iSmupJ OXyA== 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=On/89SiJlqiaVjMSXUUsgAQGJp3Kbz0ZBYk2eSkZHbs=; b=SFwF55YwY9244ZPLsyWIobKh+FY4b4buQuIE7DuhnZ+GU9w0uau8AIS+//RP1ke2Op EtNeXAXD+stthdBwOJgzHPovcU7SHYpFJlljKa67mrFTYhRo9S1ZgjIKSIWzV+NOycOn GSvsq6ROVFJ7brYEdyLpHBjwQ0DibK+OSayqyS8KPPD6d5LSB3Xy+PsDNoFwUCgM7lD6 Hunwtj/AhL0+jBuNJ+qCwjzow16z1XOjRnaeZ319WcCWgOxJt/6WScxcxljb3JxLwHUT uFcTSRZZHnlBKSTlsvmatexpA+t04POsPsE0sx4oaQqsguOMnsOXg5oYPeJevzYdEsWg rK6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=NgGTSCAw; spf=pass (google.com: domain of newlib-return-15431-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=newlib-return-15431-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 d9si2792763pgo.542.2017.11.30.02.34.41 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Nov 2017 02:34:41 -0800 (PST) Received-SPF: pass (google.com: domain of newlib-return-15431-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=NgGTSCAw; spf=pass (google.com: domain of newlib-return-15431-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=newlib-return-15431-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=t372kLAvJEjIoJGqsek+ExFQ0dQ3/uS f2Mb9N3n/zli5IVmwDHUzijKGMaUlD5DFETDtX7qpnJSIjxebU2B2qzBHNmJM3Ya l/720xAJDJdCiGM5kJujtr/foTrmUPvmpRO8skZjbvRjLLHTEF0VzemwL2RZsUfY TI/9x0VdLWYw= 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=Uak/d8qXzwFsF/ak0Ran1ErJQIc=; b=NgGTS CAws+p3c5lxQdMCFq9XnTSkresEDZ9k9W5Q7HffDKgwaHEfY2P0eFO/3VuvHdJB8 luq2Y3HJWrryx/8Wb/HgQH8oSgLBAQ7f8g4d1obxafZtp4txcbujGR1ckQ0gaGnK hi7coHM3M1dwI733zOpq2ZFLrEBRm1IQfXYCn4= Received: (qmail 102827 invoked by alias); 30 Nov 2017 10:34:29 -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 102745 invoked by uid 89); 30 Nov 2017 10:34:28 -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=3311, 2819 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:34:21 +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 E74FFC02738B for ; Thu, 30 Nov 2017 10:29:11 +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 8E3514DA18 for ; Thu, 30 Nov 2017 10:29:11 +0000 (UTC) From: Yaakov Selkowitz To: newlib@sourceware.org Subject: [PATCH 09/24] reent: remove TRAD_SYNOPSIS Date: Thu, 30 Nov 2017 04:28:43 -0600 Message-Id: <20171130102858.16160-10-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/reent/closer.c | 8 +------- newlib/libc/reent/execr.c | 25 +++---------------------- newlib/libc/reent/fcntlr.c | 10 +--------- newlib/libc/reent/fstat64r.c | 9 +-------- newlib/libc/reent/fstatr.c | 9 +-------- newlib/libc/reent/gettimeofdayr.c | 10 +--------- newlib/libc/reent/isattyr.c | 8 +------- newlib/libc/reent/linkr.c | 9 +-------- newlib/libc/reent/lseek64r.c | 10 +--------- newlib/libc/reent/lseekr.c | 10 +--------- newlib/libc/reent/mkdirr.c | 9 +-------- newlib/libc/reent/open64r.c | 10 +--------- newlib/libc/reent/openr.c | 10 +--------- newlib/libc/reent/readr.c | 10 +--------- newlib/libc/reent/renamer.c | 9 +-------- newlib/libc/reent/sbrkr.c | 8 +------- newlib/libc/reent/signalr.c | 16 ++-------------- newlib/libc/reent/stat64r.c | 9 +-------- newlib/libc/reent/statr.c | 9 +-------- newlib/libc/reent/timesr.c | 9 +-------- newlib/libc/reent/unlinkr.c | 8 +------- newlib/libc/reent/writer.c | 10 +--------- 22 files changed, 25 insertions(+), 200 deletions(-) -- 2.15.0 diff --git a/newlib/libc/reent/closer.c b/newlib/libc/reent/closer.c index aeacebd6c..deb34b002 100644 --- a/newlib/libc/reent/closer.c +++ b/newlib/libc/reent/closer.c @@ -26,16 +26,10 @@ FUNCTION INDEX _close_r -ANSI_SYNOPSIS +SYNOPSIS #include int _close_r(struct _reent *<[ptr]>, int <[fd]>); -TRAD_SYNOPSIS - #include - int _close_r(<[ptr]>, <[fd]>) - struct _reent *<[ptr]>; - int <[fd]>; - DESCRIPTION This is a reentrant version of <>. It takes a pointer to the global data block, which holds diff --git a/newlib/libc/reent/execr.c b/newlib/libc/reent/execr.c index d8026703a..559ca030a 100644 --- a/newlib/libc/reent/execr.c +++ b/newlib/libc/reent/execr.c @@ -33,19 +33,11 @@ FUNCTION INDEX _execve_r -ANSI_SYNOPSIS +SYNOPSIS #include int _execve_r(struct _reent *<[ptr]>, const char *<[name]>, char *const <[argv]>[], char *const <[env]>[]); -TRAD_SYNOPSIS - #include - int _execve_r(<[ptr]>, <[name]>, <[argv]>, <[env]>) - struct _reent *<[ptr]>; - char *<[name]>; - char *<[argv]>[]; - char *<[env]>[]; - DESCRIPTION This is a reentrant version of <>. It takes a pointer to the global data block, which holds @@ -76,15 +68,10 @@ FUNCTION INDEX _fork_r -ANSI_SYNOPSIS +SYNOPSIS #include int _fork_r(struct _reent *<[ptr]>); -TRAD_SYNOPSIS - #include - int _fork_r(<[ptr]>) - struct _reent *<[ptr]>; - DESCRIPTION This is a reentrant version of <>. It takes a pointer to the global data block, which holds @@ -115,16 +102,10 @@ FUNCTION INDEX _wait_r -ANSI_SYNOPSIS +SYNOPSIS #include int _wait_r(struct _reent *<[ptr]>, int *<[status]>); -TRAD_SYNOPSIS - #include - int _wait_r(<[ptr]>, <[status]>) - struct _reent *<[ptr]>; - int *<[status]>; - DESCRIPTION This is a reentrant version of <>. It takes a pointer to the global data block, which holds diff --git a/newlib/libc/reent/fcntlr.c b/newlib/libc/reent/fcntlr.c index d632d183f..328b9de13 100644 --- a/newlib/libc/reent/fcntlr.c +++ b/newlib/libc/reent/fcntlr.c @@ -28,19 +28,11 @@ FUNCTION INDEX _fcntl_r -ANSI_SYNOPSIS +SYNOPSIS #include int _fcntl_r(struct _reent *<[ptr]>, int <[fd]>, int <[cmd]>, <[arg]>); -TRAD_SYNOPSIS - #include - int _fcntl_r(<[ptr]>, <[fd]>, <[cmd]>, <[arg]>) - struct _reent *<[ptr]>; - int <[fd]>; - int <[cmd]>; - int <[arg]>; - DESCRIPTION This is a reentrant version of <>. It takes a pointer to the global data block, which holds diff --git a/newlib/libc/reent/fstat64r.c b/newlib/libc/reent/fstat64r.c index 1c4589713..d9fa8b71f 100644 --- a/newlib/libc/reent/fstat64r.c +++ b/newlib/libc/reent/fstat64r.c @@ -34,18 +34,11 @@ FUNCTION INDEX _fstat64_r -ANSI_SYNOPSIS +SYNOPSIS #include int _fstat64_r(struct _reent *<[ptr]>, int <[fd]>, struct stat64 *<[pstat]>); -TRAD_SYNOPSIS - #include - int _fstat64_r(<[ptr]>, <[fd]>, <[pstat]>) - struct _reent *<[ptr]>; - int <[fd]>; - struct stat *<[pstat]>; - DESCRIPTION This is a reentrant version of <>. It takes a pointer to the global data block, which holds diff --git a/newlib/libc/reent/fstatr.c b/newlib/libc/reent/fstatr.c index 7f5d559da..ec906c98d 100644 --- a/newlib/libc/reent/fstatr.c +++ b/newlib/libc/reent/fstatr.c @@ -32,18 +32,11 @@ FUNCTION INDEX _fstat_r -ANSI_SYNOPSIS +SYNOPSIS #include int _fstat_r(struct _reent *<[ptr]>, int <[fd]>, struct stat *<[pstat]>); -TRAD_SYNOPSIS - #include - int _fstat_r(<[ptr]>, <[fd]>, <[pstat]>) - struct _reent *<[ptr]>; - int <[fd]>; - struct stat *<[pstat]>; - DESCRIPTION This is a reentrant version of <>. It takes a pointer to the global data block, which holds diff --git a/newlib/libc/reent/gettimeofdayr.c b/newlib/libc/reent/gettimeofdayr.c index f5a49f73c..007dff8da 100644 --- a/newlib/libc/reent/gettimeofdayr.c +++ b/newlib/libc/reent/gettimeofdayr.c @@ -35,21 +35,13 @@ FUNCTION INDEX _gettimeofday_r -ANSI_SYNOPSIS +SYNOPSIS #include #include int _gettimeofday_r(struct _reent *<[ptr]>, struct timeval *<[ptimeval]>, void *<[ptimezone]>); -TRAD_SYNOPSIS - #include - #include - int _gettimeofday_r(<[ptr]>, <[ptimeval]>, <[ptimezone]>) - struct _reent *<[ptr]>; - struct timeval *<[ptimeval]>; - void *<[ptimezone]>; - DESCRIPTION This is a reentrant version of <>. It takes a pointer to the global data block, which holds diff --git a/newlib/libc/reent/isattyr.c b/newlib/libc/reent/isattyr.c index 05d47d323..f21bf25b2 100644 --- a/newlib/libc/reent/isattyr.c +++ b/newlib/libc/reent/isattyr.c @@ -30,17 +30,11 @@ FUNCTION INDEX _isatty_r -ANSI_SYNOPSIS +SYNOPSIS #include int _isatty_r(struct _reent *<[ptr]>, int <[fd]>); -TRAD_SYNOPSIS - #include - int _isatty_r(<[ptr]>, <[fd]>) - struct _reent *<[ptr]>; - int <[fd]>; - DESCRIPTION This is a reentrant version of <>. It takes a pointer to the global data block, which holds diff --git a/newlib/libc/reent/linkr.c b/newlib/libc/reent/linkr.c index ded636af7..8cfdf2f06 100644 --- a/newlib/libc/reent/linkr.c +++ b/newlib/libc/reent/linkr.c @@ -31,18 +31,11 @@ FUNCTION INDEX _link_r -ANSI_SYNOPSIS +SYNOPSIS #include int _link_r(struct _reent *<[ptr]>, const char *<[old]>, const char *<[new]>); -TRAD_SYNOPSIS - #include - int _link_r(<[ptr]>, <[old]>, <[new]>) - struct _reent *<[ptr]>; - char *<[old]>; - char *<[new]>; - DESCRIPTION This is a reentrant version of <>. It takes a pointer to the global data block, which holds diff --git a/newlib/libc/reent/lseek64r.c b/newlib/libc/reent/lseek64r.c index 0207a1220..1241a27e4 100644 --- a/newlib/libc/reent/lseek64r.c +++ b/newlib/libc/reent/lseek64r.c @@ -28,19 +28,11 @@ FUNCTION INDEX _lseek64_r -ANSI_SYNOPSIS +SYNOPSIS #include off64_t _lseek64_r(struct _reent *<[ptr]>, int <[fd]>, off64_t <[pos]>, int <[whence]>); -TRAD_SYNOPSIS - #include - off64_t _lseek64_r(<[ptr]>, <[fd]>, <[pos]>, <[whence]>) - struct _reent *<[ptr]>; - int <[fd]>; - off64_t <[pos]>; - int <[whence]>; - DESCRIPTION This is a reentrant version of <>. It takes a pointer to the global data block, which holds diff --git a/newlib/libc/reent/lseekr.c b/newlib/libc/reent/lseekr.c index fa00695a8..cc73ab467 100644 --- a/newlib/libc/reent/lseekr.c +++ b/newlib/libc/reent/lseekr.c @@ -26,19 +26,11 @@ FUNCTION INDEX _lseek_r -ANSI_SYNOPSIS +SYNOPSIS #include off_t _lseek_r(struct _reent *<[ptr]>, int <[fd]>, off_t <[pos]>, int <[whence]>); -TRAD_SYNOPSIS - #include - off_t _lseek_r(<[ptr]>, <[fd]>, <[pos]>, <[whence]>) - struct _reent *<[ptr]>; - int <[fd]>; - off_t <[pos]>; - int <[whence]>; - DESCRIPTION This is a reentrant version of <>. It takes a pointer to the global data block, which holds diff --git a/newlib/libc/reent/mkdirr.c b/newlib/libc/reent/mkdirr.c index fe36de11a..eee999e19 100644 --- a/newlib/libc/reent/mkdirr.c +++ b/newlib/libc/reent/mkdirr.c @@ -26,18 +26,11 @@ FUNCTION INDEX _mkdir_r -ANSI_SYNOPSIS +SYNOPSIS #include int _mkdir_r(struct _reent *<[ptr]>, const char *<[path]>, int <[mode]>); -TRAD_SYNOPSIS - #include - int _mkdir_r(<[ptr]>, <[path]>, <[mode]>) - struct _reent *<[ptr]>; - char *<[path]>; - int <[mode]>; - DESCRIPTION This is a reentrant version of <>. It takes a pointer to the global data block, which holds diff --git a/newlib/libc/reent/open64r.c b/newlib/libc/reent/open64r.c index 30310d301..6b39fa1fd 100644 --- a/newlib/libc/reent/open64r.c +++ b/newlib/libc/reent/open64r.c @@ -29,19 +29,11 @@ FUNCTION INDEX _open64_r -ANSI_SYNOPSIS +SYNOPSIS #include int _open64_r(struct _reent *<[ptr]>, const char *<[file]>, int <[flags]>, int <[mode]>); -TRAD_SYNOPSIS - #include - int _open64_r(<[ptr]>, <[file]>, <[flags]>, <[mode]>) - struct _reent *<[ptr]>; - char *<[file]>; - int <[flags]>; - int <[mode]>; - DESCRIPTION This is a reentrant version of <>. It takes a pointer to the global data block, which holds diff --git a/newlib/libc/reent/openr.c b/newlib/libc/reent/openr.c index 35138c6de..06b203b81 100644 --- a/newlib/libc/reent/openr.c +++ b/newlib/libc/reent/openr.c @@ -27,19 +27,11 @@ FUNCTION INDEX _open_r -ANSI_SYNOPSIS +SYNOPSIS #include int _open_r(struct _reent *<[ptr]>, const char *<[file]>, int <[flags]>, int <[mode]>); -TRAD_SYNOPSIS - #include - int _open_r(<[ptr]>, <[file]>, <[flags]>, <[mode]>) - struct _reent *<[ptr]>; - char *<[file]>; - int <[flags]>; - int <[mode]>; - DESCRIPTION This is a reentrant version of <>. It takes a pointer to the global data block, which holds diff --git a/newlib/libc/reent/readr.c b/newlib/libc/reent/readr.c index 38c1d9e39..65e0514cf 100644 --- a/newlib/libc/reent/readr.c +++ b/newlib/libc/reent/readr.c @@ -26,19 +26,11 @@ FUNCTION INDEX _read_r -ANSI_SYNOPSIS +SYNOPSIS #include _ssize_t _read_r(struct _reent *<[ptr]>, int <[fd]>, void *<[buf]>, size_t <[cnt]>); -TRAD_SYNOPSIS - #include - _ssize_t _read_r(<[ptr]>, <[fd]>, <[buf]>, <[cnt]>) - struct _reent *<[ptr]>; - int <[fd]>; - char *<[buf]>; - size_t <[cnt]>; - DESCRIPTION This is a reentrant version of <>. It takes a pointer to the global data block, which holds diff --git a/newlib/libc/reent/renamer.c b/newlib/libc/reent/renamer.c index d3951a28d..9b42dc380 100644 --- a/newlib/libc/reent/renamer.c +++ b/newlib/libc/reent/renamer.c @@ -28,18 +28,11 @@ FUNCTION INDEX _rename_r -ANSI_SYNOPSIS +SYNOPSIS #include int _rename_r(struct _reent *<[ptr]>, const char *<[old]>, const char *<[new]>); -TRAD_SYNOPSIS - #include - int _rename_r(<[ptr]>, <[old]>, <[new]>) - struct _reent *<[ptr]>; - char *<[old]>; - char *<[new]>; - DESCRIPTION This is a reentrant version of <>. It takes a pointer to the global data block, which holds diff --git a/newlib/libc/reent/sbrkr.c b/newlib/libc/reent/sbrkr.c index 44e42b57f..4217174b3 100644 --- a/newlib/libc/reent/sbrkr.c +++ b/newlib/libc/reent/sbrkr.c @@ -30,16 +30,10 @@ FUNCTION INDEX _sbrk_r -ANSI_SYNOPSIS +SYNOPSIS #include void *_sbrk_r(struct _reent *<[ptr]>, ptrdiff_t <[incr]>); -TRAD_SYNOPSIS - #include - void *_sbrk_r(<[ptr]>, <[incr]>) - struct _reent *<[ptr]>; - ptrdiff_t <[incr]>; - DESCRIPTION This is a reentrant version of <>. It takes a pointer to the global data block, which holds diff --git a/newlib/libc/reent/signalr.c b/newlib/libc/reent/signalr.c index 161d53091..95dd49ed3 100644 --- a/newlib/libc/reent/signalr.c +++ b/newlib/libc/reent/signalr.c @@ -32,17 +32,10 @@ FUNCTION INDEX _kill_r -ANSI_SYNOPSIS +SYNOPSIS #include int _kill_r(struct _reent *<[ptr]>, int <[pid]>, int <[sig]>); -TRAD_SYNOPSIS - #include - int _kill_r(<[ptr]>, <[pid]>, <[sig]>) - struct _reent *<[ptr]>; - int <[pid]>; - int <[sig]>; - DESCRIPTION This is a reentrant version of <>. It takes a pointer to the global data block, which holds @@ -71,15 +64,10 @@ FUNCTION INDEX _getpid_r -ANSI_SYNOPSIS +SYNOPSIS #include int _getpid_r(struct _reent *<[ptr]>); -TRAD_SYNOPSIS - #include - int _getpid_r(<[ptr]>) - struct _reent *<[ptr]>; - DESCRIPTION This is a reentrant version of <>. It takes a pointer to the global data block, which holds diff --git a/newlib/libc/reent/stat64r.c b/newlib/libc/reent/stat64r.c index 695b7f813..1f175e0a9 100644 --- a/newlib/libc/reent/stat64r.c +++ b/newlib/libc/reent/stat64r.c @@ -33,18 +33,11 @@ FUNCTION INDEX _stat64_r -ANSI_SYNOPSIS +SYNOPSIS #include int _stat64_r(struct _reent *<[ptr]>, const char *<[file]>, struct stat64 *<[pstat]>); -TRAD_SYNOPSIS - #include - int _stat64_r(<[ptr]>, <[file]>, <[pstat]>) - struct _reent *<[ptr]>; - char *<[file]>; - struct stat64 *<[pstat]>; - DESCRIPTION This is a reentrant version of <>. It takes a pointer to the global data block, which holds diff --git a/newlib/libc/reent/statr.c b/newlib/libc/reent/statr.c index 9ad2bb209..3500c88b1 100644 --- a/newlib/libc/reent/statr.c +++ b/newlib/libc/reent/statr.c @@ -33,18 +33,11 @@ FUNCTION INDEX _stat_r -ANSI_SYNOPSIS +SYNOPSIS #include int _stat_r(struct _reent *<[ptr]>, const char *<[file]>, struct stat *<[pstat]>); -TRAD_SYNOPSIS - #include - int _stat_r(<[ptr]>, <[file]>, <[pstat]>) - struct _reent *<[ptr]>; - char *<[file]>; - struct stat *<[pstat]>; - DESCRIPTION This is a reentrant version of <>. It takes a pointer to the global data block, which holds diff --git a/newlib/libc/reent/timesr.c b/newlib/libc/reent/timesr.c index 1881724ba..efb98b61d 100644 --- a/newlib/libc/reent/timesr.c +++ b/newlib/libc/reent/timesr.c @@ -32,18 +32,11 @@ FUNCTION INDEX _times_r -ANSI_SYNOPSIS +SYNOPSIS #include #include clock_t _times_r(struct _reent *<[ptr]>, struct tms *<[ptms]>); -TRAD_SYNOPSIS - #include - #include - clock_t _times_r(<[ptr]>, <[ptms]>) - struct _reent *<[ptr]>; - struct tms *<[ptms]>; - DESCRIPTION This is a reentrant version of <>. It takes a pointer to the global data block, which holds diff --git a/newlib/libc/reent/unlinkr.c b/newlib/libc/reent/unlinkr.c index 95b815f1b..53b8f11e3 100644 --- a/newlib/libc/reent/unlinkr.c +++ b/newlib/libc/reent/unlinkr.c @@ -27,16 +27,10 @@ FUNCTION INDEX _unlink_r -ANSI_SYNOPSIS +SYNOPSIS #include int _unlink_r(struct _reent *<[ptr]>, const char *<[file]>); -TRAD_SYNOPSIS - #include - int _unlink_r(<[ptr]>, <[file]>) - struct _reent *<[ptr]>; - char *<[file]>; - DESCRIPTION This is a reentrant version of <>. It takes a pointer to the global data block, which holds diff --git a/newlib/libc/reent/writer.c b/newlib/libc/reent/writer.c index 128f7f7ac..4190a9059 100644 --- a/newlib/libc/reent/writer.c +++ b/newlib/libc/reent/writer.c @@ -26,19 +26,11 @@ FUNCTION INDEX _write_r -ANSI_SYNOPSIS +SYNOPSIS #include _ssize_t _write_r(struct _reent *<[ptr]>, int <[fd]>, const void *<[buf]>, size_t <[cnt]>); -TRAD_SYNOPSIS - #include - _ssize_t _write_r(<[ptr]>, <[fd]>, <[buf]>, <[cnt]>) - struct _reent *<[ptr]>; - int <[fd]>; - char *<[buf]>; - size_t <[cnt]>; - DESCRIPTION This is a reentrant version of <>. It takes a pointer to the global data block, which holds