[04/24] microblaze: remove TRAD_SYNOPSIS

Message ID 20171130102858.16160-5-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/machine/microblaze/abort.c  | 6 +-----
 newlib/libc/machine/microblaze/strcmp.c | 8 +-------
 newlib/libc/machine/microblaze/strcpy.c | 8 +-------
 newlib/libc/machine/microblaze/strlen.c | 7 +------
 4 files changed, 4 insertions(+), 25 deletions(-)

-- 
2.15.0

Patch

diff --git a/newlib/libc/machine/microblaze/abort.c b/newlib/libc/machine/microblaze/abort.c
index b2c5a00b2..82daebe43 100644
--- a/newlib/libc/machine/microblaze/abort.c
+++ b/newlib/libc/machine/microblaze/abort.c
@@ -15,14 +15,10 @@  FUNCTION
 INDEX
 	abort
 
-ANSI_SYNOPSIS
+SYNOPSIS
 	#include <stdlib.h>
 	void abort(void);
 
-TRAD_SYNOPSIS
-	#include <stdlib.h>
-	void abort();
-
 DESCRIPTION
 Use <<abort>> to signal that your program has detected a condition it
 cannot deal with.  Normally, <<abort>> ends your program's execution.
diff --git a/newlib/libc/machine/microblaze/strcmp.c b/newlib/libc/machine/microblaze/strcmp.c
index 2f0337412..fc7dc2143 100644
--- a/newlib/libc/machine/microblaze/strcmp.c
+++ b/newlib/libc/machine/microblaze/strcmp.c
@@ -34,16 +34,10 @@  FUNCTION
 INDEX
 	strcmp
 
-ANSI_SYNOPSIS
+SYNOPSIS
 	#include <string.h>
 	int strcmp(const char *<[a]>, const char *<[b]>);
 
-TRAD_SYNOPSIS
-	#include <string.h>
-	int strcmp(<[a]>, <[b]>)
-	char *<[a]>;
-	char *<[b]>;
-
 DESCRIPTION
 	<<strcmp>> compares the string at <[a]> to
 	the string at <[b]>.
diff --git a/newlib/libc/machine/microblaze/strcpy.c b/newlib/libc/machine/microblaze/strcpy.c
index 0819ee511..44ba382c7 100644
--- a/newlib/libc/machine/microblaze/strcpy.c
+++ b/newlib/libc/machine/microblaze/strcpy.c
@@ -34,16 +34,10 @@  FUNCTION
 INDEX
 	strcpy
 
-ANSI_SYNOPSIS
+SYNOPSIS
 	#include <string.h>
 	char *strcpy(char *restrict <[dst]>, const char *restrict <[src]>);
 
-TRAD_SYNOPSIS
-	#include <string.h>
-	char *strcpy(<[dst]>, <[src]>)
-	char *<[dst]>;
-	char *<[src]>;
-
 DESCRIPTION
 	<<strcpy>> copies the string pointed to by <[src]>
 	(including the terminating null character) to the array
diff --git a/newlib/libc/machine/microblaze/strlen.c b/newlib/libc/machine/microblaze/strlen.c
index 51387cd9c..ddd9e6a82 100644
--- a/newlib/libc/machine/microblaze/strlen.c
+++ b/newlib/libc/machine/microblaze/strlen.c
@@ -34,15 +34,10 @@  FUNCTION
 INDEX
 	strlen
 
-ANSI_SYNOPSIS
+SYNOPSIS
 	#include <string.h>
 	size_t strlen(const char *<[str]>);
 
-TRAD_SYNOPSIS
-	#include <string.h>
-	size_t strlen(<[str]>)
-	char *<[src]>;
-
 DESCRIPTION
 	The <<strlen>> function works out the length of the string
 	starting at <<*<[str]>>> by counting chararacters until it