summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--newlib/ChangeLog4
-rw-r--r--newlib/libc/include/langinfo.h3
2 files changed, 6 insertions, 1 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index aa7885711..7d60fcce3 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,7 @@
+2010-04-30 Corinna Vinschen <corinna@vinschen.de>
+
+ * libc/include/langinfo.h: Fix #endif positioning.
+
2010-04-28 Corinna Vinschen <corinna@vinschen.de>
Extend locale support to maintain wide char values of native strings
diff --git a/newlib/libc/include/langinfo.h b/newlib/libc/include/langinfo.h
index 542e43843..9040adeff 100644
--- a/newlib/libc/include/langinfo.h
+++ b/newlib/libc/include/langinfo.h
@@ -303,11 +303,12 @@ enum __nl_item
/* This MUST be the last entry since it's used to check for an array
index in nl_langinfo(). */
_NL_LOCALE_EXTENDED_LAST_ENTRY
-};
#endif /* __HAVE_LOCALE_INFO_EXTENDED__ */
#endif /* __HAVE_LOCALE_INFO__ */
+};
+
__BEGIN_DECLS
char *nl_langinfo(nl_item);
__END_DECLS