summaryrefslogtreecommitdiffstats
path: root/lib/mbchar.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mbchar.c')
-rw-r--r--lib/mbchar.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/mbchar.c b/lib/mbchar.c
index 6facc14..95373f5 100644
--- a/lib/mbchar.c
+++ b/lib/mbchar.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2001 Free Software Foundation, Inc.
+/* Copyright (C) 2001, 2006 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -15,9 +15,7 @@
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
+#include <config.h>
#include <limits.h>
@@ -26,7 +24,7 @@
#if IS_BASIC_ASCII
/* Bit table of characters in the ISO C "basic character set". */
-unsigned int is_basic_table [UCHAR_MAX / 32 + 1] =
+const unsigned int is_basic_table [UCHAR_MAX / 32 + 1] =
{
0x00001a00, /* '\t' '\v' '\f' */
0xffffffef, /* ' '...'#' '%'...'?' */