[16/24] sys: remove TRAD_SYNOPSIS

Message ID 20171130102858.16160-17-yselkowi@redhat.com
State New
Headers show
Series
  • Remove TRAD_SYNOPSIS
Related show

Commit Message

Yaakov Selkowitz Nov. 30, 2017, 10:28 a.m.
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>

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

-- 
2.15.0

Patch

diff --git a/newlib/libc/sys/linux/getdate.c b/newlib/libc/sys/linux/getdate.c
index 5c056c750..0e689f99a 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 c4bdca706..3ced04818 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 f1d678493..876749943 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 933ea4d76..1787769e3 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