summaryrefslogtreecommitdiff
path: root/lib/libc/locale/lnumeric.c
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/lnumeric.c
parent051f867fe1b1a63dd287a43b532c791d38238f6a (diff)
Notes
Diffstat (limited to 'lib/libc/locale/lnumeric.c')
-rw-r--r--lib/libc/locale/lnumeric.c3
1 files changed, 1 insertions, 2 deletions
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 */