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] stdio64: remove TRAD_SYNOPSIS
Date: Fri, 01 Dec 2017 09:43:00 -0000	[thread overview]
Message-ID: <20171201094329.75908.qmail@sourceware.org> (raw)

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

commit a60026253d244fd722ef153625defe16c4504010
Author: Yaakov Selkowitz <yselkowi@redhat.com>
Date:   Thu Nov 30 02:06:47 2017 -0600

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

Diff:
---
 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(-)

diff --git a/newlib/libc/stdio64/fgetpos64.c b/newlib/libc/stdio64/fgetpos64.c
index 36f7ec9..a1d0a37 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 <stdio.h>
 	int fgetpos64(FILE *<[fp]>, _fpos64_t *<[pos]>);
 	int _fgetpos64_r(struct _reent *<[ptr]>, FILE *<[fp]>, 
 	                 _fpos64_t *<[pos]>);
 
-TRAD_SYNOPSIS
-	#include <stdio.h>
-	int fgetpos64(<[fp]>, <[pos]>)
-	FILE *<[fp]>;
-	_fpos64_t *<[pos]>;
-
-	int _fgetpos64_r(<[ptr]>, <[fp]>, <[pos]>)
-	FILE *<[fp]>;
-	_fpos64_t *<[pos]>;
-
 DESCRIPTION
 Objects of type <<FILE>> can have a ``position'' that records how much
 of the file your program has already read.  Many of the <<stdio>> functions
diff --git a/newlib/libc/stdio64/fopen64.c b/newlib/libc/stdio64/fopen64.c
index 84f7b6e..60ac73f 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 <stdio.h>
 	FILE *fopen64(const char *<[file]>, const char *<[mode]>);
 	FILE *_fopen64_r(void *<[reent]>,
                        const char *<[file]>, const char *<[mode]>);
 
-TRAD_SYNOPSIS
-	#include <stdio.h>
-	FILE *fopen64(<[file]>, <[mode]>)
-	char *<[file]>;
-	char *<[mode]>;
-
-	FILE *_fopen64_r(<[reent]>, <[file]>, <[mode]>)
-	char *<[reent]>;
-	char *<[file]>;
-	char *<[mode]>;
-
 DESCRIPTION
 <<fopen64>> is identical to <<fopen>> except it opens a large file that
 is potentially >2GB in size.  See <<fopen>> for further details.
diff --git a/newlib/libc/stdio64/freopen64.c b/newlib/libc/stdio64/freopen64.c
index f7df354..379462c 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 <stdio.h>
 	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 <stdio.h>
-	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 <<fopen64>> if you wish to specify a particular file
 descriptor <[fp]> (notably <<stdin>>, <<stdout>>, or <<stderr>>) for
diff --git a/newlib/libc/stdio64/fseeko64.c b/newlib/libc/stdio64/fseeko64.c
index 34eee67..624e912 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 <stdio.h>
 	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 <stdio.h>
-
-	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 <<FILE>> can have a ``position'' that records how much
diff --git a/newlib/libc/stdio64/fsetpos64.c b/newlib/libc/stdio64/fsetpos64.c
index 046990d..83d9962 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 <stdio.h>
 	int fsetpos64(FILE *<[fp]>, const _fpos64_t *<[pos]>);
 	int _fsetpos64_r(struct _reent *<[ptr]>, FILE *<[fp]>, 
 	                 const _fpos64_t *<[pos]>);
 
-TRAD_SYNOPSIS
-	#include <stdio.h>
-	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 <<FILE>> can have a ``position'' that records how much
 of the file your program has already read.  Many of the <<stdio>> functions
diff --git a/newlib/libc/stdio64/ftello64.c b/newlib/libc/stdio64/ftello64.c
index c4d6da2..c6226d1 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 <stdio.h>
 	_off64_t ftello64(FILE *<[fp]>);
 	_off64_t _ftello64_r(struct _reent *<[ptr]>, FILE *<[fp]>);
 
-TRAD_SYNOPSIS
-	#include <stdio.h>
-	_off64_t ftello64(<[fp]>)
-	FILE *<[fp]>;
-
-	_off64_t _ftello64_r(<[ptr]>, <[fp]>)
-	struct _reent *<[ptr]>;
-	FILE *<[fp]>;
-
 DESCRIPTION
 Objects of type <<FILE>> can have a ``position'' that records how much
 of the file your program has already read.  Many of the <<stdio>> functions
diff --git a/newlib/libc/stdio64/tmpfile64.c b/newlib/libc/stdio64/tmpfile64.c
index 98a7d78..d58aa14 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 <stdio.h>
 	FILE *tmpfile64(void);
 
 	FILE *_tmpfile64_r(void *<[reent]>);
 
-TRAD_SYNOPSIS
-	#include <stdio.h>
-	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 <<tmpnam>>.  The temporary file is opened with


                 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=20171201094329.75908.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).