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

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

commit adfde9d773faa2c17ada9480c7a6a744bbd10c1f
Author: Yaakov Selkowitz <yselkowi@redhat.com>
Date:   Thu Nov 30 02:21:24 2017 -0600

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

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

diff --git a/newlib/libc/sys/linux/getdate.c b/newlib/libc/sys/linux/getdate.c
index 5c056c7..0e689f9 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 <time.h>
         struct tm *getdate(const char *<[string]>);
         int getdate_r(const char *<[string]>, struct tm *<[res]>);
 
-TRAD_SYNOPSIS
-        #include <time.h>
-        struct tm *getdate(<[string]>);
-        const char *<[string]>;
-
-        int getdate_r(<[string]>, <[res]>);
-        const char *<[string]>;
-        struct tm *<[res]>;
-
 DESCRIPTION
 <<getdate>> 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 c4bdca7..3ced048 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 <unistd.h>
 	ssize_t pread64(int <[fd]>, void *<[buf]>, size_t <[n]>, loff_t <[off]>);
 
-TRAD_SYNOPSIS
-	#include <unistd.h>
-	ssize_t pread64(<[fd]>, <[buf]>, <[n]>, <[off]>)
-	int <[fd]>;
-	void *<[buf]>;
-	size_t <[n]>;
-	loff_t <[off]>;
-
 DESCRIPTION
 The <<pread64>> function is similar to <<pread>>.  The only difference is
 that it operates on large files and so takes a 64-bit offset.  Like <<pread>>>,
diff --git a/newlib/libc/sys/linux/pwrite64.c b/newlib/libc/sys/linux/pwrite64.c
index f1d6784..8767499 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 <unistd.h>
 	ssize_t pwrite64(int <[fd]>, void *<[buf]>, size_t <[n]>, loff_t <[off]>);
 
-TRAD_SYNOPSIS
-	#include <unistd.h>
-	ssize_t pwrite64(<[fd]>, <[buf]>, <[n]>, <[off]>)
-	int <[fd]>;
-	void *<[buf]>;
-	size_t <[n]>;
-	loff_t <[off]>;
-
 DESCRIPTION
 The <<pwrite64>> function is similar to <<pwrite>>.  The only difference is
 that it operates on large files and so takes a 64-bit offset.  Like <<pwrite>>>,
diff --git a/newlib/libc/sys/rdos/getenv.c b/newlib/libc/sys/rdos/getenv.c
index 933ea4d..1787769 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 <stdlib.h>
 	char *getenv(const char *<[name]>);
 
-TRAD_SYNOPSIS
-	#include <stdlib.h>
-	char *getenv(<[name]>)
-	char *<[name]>;
-
 DESCRIPTION
 <<getenv>> searches the list of environment variable names and values
 (using the global pointer ``<<char **environ>>'') for a variable whose


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