aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/locale
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2001-02-10 01:38:18 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2001-02-10 01:38:18 +0000
commit1506a668dc7e9fff9ad21e98202fc560bf10afd5 (patch)
tree1be101f22928034c9cc4b1e63dd8a191a35fec3e /lib/libc/locale
parent051f867fe1b1a63dd287a43b532c791d38238f6a (diff)
Notes
Diffstat (limited to 'lib/libc/locale')
-rw-r--r--lib/libc/locale/lmonetary.c3
-rw-r--r--lib/libc/locale/lnumeric.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/lib/libc/locale/lmonetary.c b/lib/libc/locale/lmonetary.c
index 22c157fe871f..45af48a60073 100644
--- a/lib/libc/locale/lmonetary.c
+++ b/lib/libc/locale/lmonetary.c
@@ -26,7 +26,6 @@
* $FreeBSD$
*/
-#include <limits.h>
#include "lmonetary.h"
#include "ldpart.h"
@@ -35,7 +34,7 @@ extern int __mlocale_changed;
#define LCMONETARY_SIZE (sizeof(struct lc_monetary_T) / sizeof(char *))
static char empty[] = "";
-static char numempty[] = { CHAR_MAX, '\0' };
+static char numempty[] = "127"; /* XXX: CHAR_MAX supposed here */
static const struct lc_monetary_T _C_monetary_locale = {
empty , /* int_curr_symbol */
diff --git a/lib/libc/locale/lnumeric.c b/lib/libc/locale/lnumeric.c
index bbf118c9add5..cfe3f5b300e9 100644
--- a/lib/libc/locale/lnumeric.c
+++ b/lib/libc/locale/lnumeric.c
@@ -26,7 +26,6 @@
* $FreeBSD$
*/
-#include <limits.h>
#include "lnumeric.h"
#include "ldpart.h"
@@ -34,7 +33,7 @@ extern int __nlocale_changed;
#define LCNUMERIC_SIZE (sizeof(struct lc_numeric_T) / sizeof(char *))
-static char numempty[] = { CHAR_MAX, '\0' };
+static char numempty[] = "127"; /* XXX: CHAR_MAX supposed here */
static const struct lc_numeric_T _C_numeric_locale = {
".", /* decimal_point */