public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowitz@sourceware.org>
To: newlib-cvs@sourceware.org
Subject: [newlib-cygwin] unix: remove TRAD_SYNOPSIS
Date: Fri, 01 Dec 2017 09:43:00 -0000	[thread overview]
Message-ID: <20171201094355.77268.qmail@sourceware.org> (raw)

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=571ff42ae4c587b9211c17fd58abc2b23464c0ad

commit 571ff42ae4c587b9211c17fd58abc2b23464c0ad
Author: Yaakov Selkowitz <yselkowi@redhat.com>
Date:   Thu Nov 30 02:23:19 2017 -0600

    unix: remove TRAD_SYNOPSIS
    
    Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>

Diff:
---
 newlib/libc/unix/pread.c  | 17 +----------------
 newlib/libc/unix/pwrite.c | 17 +----------------
 2 files changed, 2 insertions(+), 32 deletions(-)

diff --git a/newlib/libc/unix/pread.c b/newlib/libc/unix/pread.c
index 770c3fc..7d351d9 100644
--- a/newlib/libc/unix/pread.c
+++ b/newlib/libc/unix/pread.c
@@ -8,27 +8,12 @@ INDEX
 INDEX
 	_pread_r
 
-ANSI_SYNOPSIS
+SYNOPSIS
 	#include <unistd.h>
 	ssize_t pread(int <[fd]>, void *<[buf]>, size_t <[n]>, off_t <[off]>);
 	ssize_t _pread_r(struct _reent *<[rptr]>, int <[fd]>, 
                          void *<[buf]>, size_t <[n]>, off_t <[off]>);
 
-TRAD_SYNOPSIS
-	#include <unistd.h>
-	ssize_t pread(<[fd]>, <[buf]>, <[n]>, <[off]>)
-	int <[fd]>;
-	void *<[buf]>;
-	size_t <[n]>;
-	off_t <[off]>;
-
-	ssize_t _pread_r(<[rptr]>, <[fd]>, <[buf]>, <[n]>, <[off]>)
-	struct _reent *<[rptr]>;
-	int <[fd]>;
-	void *<[buf]>;
-	size_t <[n]>;
-	off_t <[off]>;
-
 DESCRIPTION
 The <<pread>> function is similar to <<read>>.  One difference is that
 <<pread>> has an additional parameter <[off]> which is the offset to
diff --git a/newlib/libc/unix/pwrite.c b/newlib/libc/unix/pwrite.c
index 9f2a898..dad8412 100644
--- a/newlib/libc/unix/pwrite.c
+++ b/newlib/libc/unix/pwrite.c
@@ -8,28 +8,13 @@ INDEX
 INDEX
 	_pwrite_r
 
-ANSI_SYNOPSIS
+SYNOPSIS
 	#include <unistd.h>
 	ssize_t pwrite(int <[fd]>, const void *<[buf]>, 
                        size_t <[n]>, off_t <[off]>);
 	ssize_t _pwrite_r(struct _reent *<[rptr]>, int <[fd]>, 
                           const void *<[buf]>, size_t <[n]>, off_t <[off]>);
 
-TRAD_SYNOPSIS
-	#include <unistd.h>
-	ssize_t pwrite(<[fd]>, <[buf]>, <[n]>, <[off]>)
-	int <[fd]>;
-	const void *<[buf]>;
-	size_t <[n]>;
-	off_t <[off]>;
-
-	ssize_t _pwrite_r(<[rptr]>, <[fd]>, <[buf]>, <[n]>, <[off]>)
-	struct _reent *<[rptr]>;
-	int <[fd]>;
-	const void *<[buf]>;
-	size_t <[n]>;
-	off_t <[off]>;
-
 DESCRIPTION
 The <<pwrite>> function is similar to <<write>>.  One difference is that
 <<pwrite>> has an additional parameter <[off]> which is the offset to


                 reply	other threads:[~2017-12-01  9:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171201094355.77268.qmail@sourceware.org \
    --to=yselkowitz@sourceware.org \
    --cc=newlib-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).