This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
[PATCH 03/24] locale: remove TRAD_SYNOPSIS
- From: Yaakov Selkowitz <yselkowi at redhat dot com>
- To: newlib at sourceware dot org
- Date: Thu, 30 Nov 2017 04:28:37 -0600
- Subject: [PATCH 03/24] locale: remove TRAD_SYNOPSIS
- Authentication-results: sourceware.org; auth=none
- References: <20171130102858.16160-1-yselkowi@redhat.com>
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(-)
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]>);
--
2.15.0