summaryrefslogtreecommitdiff
path: root/include/locale.h
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2009-10-17 03:45:53 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-11-19 23:05:45 +0100
commit9a9fe3ad32b7f42650d6acdab484782320ae8e6d (patch)
tree4b5427a21b7fa4121a3a699f82c08a4cea564871 /include/locale.h
parenta193e5a08463ea97f55cb66ccd001f156ec7aa87 (diff)
sync some headers and disable unused prototypes
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'include/locale.h')
-rw-r--r--include/locale.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/locale.h b/include/locale.h
index cdb3a09d9..b740908f0 100644
--- a/include/locale.h
+++ b/include/locale.h
@@ -39,6 +39,7 @@ __BEGIN_DECLS
#define LC_COLLATE __LC_COLLATE
#define LC_MONETARY __LC_MONETARY
#define LC_MESSAGES __LC_MESSAGES
+#define LC_ALL __LC_ALL
#if 0
#define LC_PAPER __LC_PAPER
#define LC_NAME __LC_NAME
@@ -47,9 +48,10 @@ __BEGIN_DECLS
#define LC_MEASUREMENT __LC_MEASUREMENT
#define LC_IDENTIFICATION __LC_IDENTIFICATION
#endif
-#define LC_ALL __LC_ALL
+__BEGIN_NAMESPACE_STD
+
/* Structure giving information about numeric and monetary notation. */
struct lconv
{
@@ -121,8 +123,6 @@ struct lconv
};
-__BEGIN_NAMESPACE_STD
-
/* Set and/or return the current locale. */
extern char *setlocale (int __category, __const char *__locale) __THROW;
@@ -133,7 +133,7 @@ libc_hidden_proto(localeconv)
__END_NAMESPACE_STD
-#if defined(__USE_GNU) && defined(__UCLIBC_HAS_LOCALE__)
+#if defined __USE_GNU && defined __UCLIBC_HAS_LOCALE__
/* The concept of one static locale per category is not very well
thought out. Many applications will need to process its data using
information from several different locales. Another application is
@@ -145,7 +145,7 @@ __END_NAMESPACE_STD
Attention: all these functions are *not* standardized in any form.
This is a proof-of-concept implementation. */
-#if defined(__UCLIBC_HAS_XLOCALE__)
+#ifdef __UCLIBC_HAS_XLOCALE__
/* Get locale datatype definition. */
# include <xlocale.h>
#endif