[03/24] locale: remove TRAD_SYNOPSIS

Message ID 20171130102858.16160-4-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/locale/duplocale.c  |  2 +-
 newlib/libc/locale/freelocale.c |  2 +-
 newlib/libc/locale/locale.c     | 18 +-----------------
 newlib/libc/locale/newlocale.c  |  2 +-
 newlib/libc/locale/uselocale.c  |  2 +-
 5 files changed, 5 insertions(+), 21 deletions(-)

-- 
2.15.0

Patch

diff --git a/newlib/libc/locale/duplocale.c b/newlib/libc/locale/duplocale.c
index 9f6156cb4..d3e7d782e 100644
--- a/newlib/libc/locale/duplocale.c
+++ b/newlib/libc/locale/duplocale.c
@@ -8,7 +8,7 @@  INDEX
 INDEX
 	_duplocale_r
 
-ANSI_SYNOPSIS
+SYNOPSIS
 	#include <locale.h>
 	locale_t duplocale(locale_t <[locobj]>);
 
diff --git a/newlib/libc/locale/freelocale.c b/newlib/libc/locale/freelocale.c
index dd3c0f95e..f5d55f5e2 100644
--- a/newlib/libc/locale/freelocale.c
+++ b/newlib/libc/locale/freelocale.c
@@ -8,7 +8,7 @@  INDEX
 INDEX
 	_freelocale_r
 
-ANSI_SYNOPSIS
+SYNOPSIS
 	#include <locale.h>
 	locale_t freelocale(locale_t <[locobj]>);
 
diff --git a/newlib/libc/locale/locale.c b/newlib/libc/locale/locale.c
index b5402372c..073189a29 100644
--- a/newlib/libc/locale/locale.c
+++ b/newlib/libc/locale/locale.c
@@ -11,7 +11,7 @@  INDEX
 INDEX
 	_localeconv_r
 
-ANSI_SYNOPSIS
+SYNOPSIS
 	#include <locale.h>
 	char *setlocale(int <[category]>, const char *<[locale]>);
 	lconv *localeconv(void);
@@ -20,22 +20,6 @@  ANSI_SYNOPSIS
                         int <[category]>, const char *<[locale]>);
 	lconv *_localeconv_r(void *<[reent]>);
 
-TRAD_SYNOPSIS
-	#include <locale.h>
-	char *setlocale(<[category]>, <[locale]>)
-	int <[category]>;
-	char *<[locale]>;
-
-	lconv *localeconv();
-
-	char *_setlocale_r(<[reent]>, <[category]>, <[locale]>)
-	char *<[reent]>;
-	int <[category]>;
-	char *<[locale]>;
-
-	lconv *_localeconv_r(<[reent]>);
-	char *<[reent]>;
-
 DESCRIPTION
 <<setlocale>> is the facility defined by ANSI C to condition the
 execution environment for international collating and formatting
diff --git a/newlib/libc/locale/newlocale.c b/newlib/libc/locale/newlocale.c
index c8176256e..c6c2a9ca9 100644
--- a/newlib/libc/locale/newlocale.c
+++ b/newlib/libc/locale/newlocale.c
@@ -8,7 +8,7 @@  INDEX
 INDEX
 	_newlocale_r
 
-ANSI_SYNOPSIS
+SYNOPSIS
 	#include <locale.h>
 	locale_t newlocale(int <[category_mask]>, const char *<[locale]>,
 			   locale_t <[locobj]>);
diff --git a/newlib/libc/locale/uselocale.c b/newlib/libc/locale/uselocale.c
index 810590fc0..83ebcdd19 100644
--- a/newlib/libc/locale/uselocale.c
+++ b/newlib/libc/locale/uselocale.c
@@ -8,7 +8,7 @@  INDEX
 INDEX
 	_uselocale_r
 
-ANSI_SYNOPSIS
+SYNOPSIS
 	#include <locale.h>
 	locale_t uselocale(locale_t <[locobj]>);