From 38dfbee187191f15de9e6a171eee8be5072db296 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sun, 10 Apr 2011 23:50:34 -0700 Subject: [PATCH] * chartab.c (chartab_chars, chartab_bits): Now static. --- src/ChangeLog | 2 ++ src/chartab.c | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index baf0c1f10a1..03f4fcee063 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2011-04-11 Paul Eggert + * chartab.c (chartab_chars, chartab_bits): Now static. + * charset.h (charset_iso_8859_1): Remove decl. * charset.c (charset_iso_8859_1, charset_emacs, map_charset_for_dump): Now static. diff --git a/src/chartab.c b/src/chartab.c index 50c3fd7cb73..2f0e88bd404 100644 --- a/src/chartab.c +++ b/src/chartab.c @@ -36,7 +36,7 @@ const int chartab_size[4] = /* Number of characters each element of Nth level char-table covers. */ -const int chartab_chars[4] = +static const int chartab_chars[4] = { (1 << (CHARTAB_SIZE_BITS_1 + CHARTAB_SIZE_BITS_2 + CHARTAB_SIZE_BITS_3)), (1 << (CHARTAB_SIZE_BITS_2 + CHARTAB_SIZE_BITS_3)), (1 << CHARTAB_SIZE_BITS_3), @@ -44,7 +44,7 @@ const int chartab_chars[4] = /* Number of characters (in bits) each element of Nth level char-table covers. */ -const int chartab_bits[4] = +static const int chartab_bits[4] = { (CHARTAB_SIZE_BITS_1 + CHARTAB_SIZE_BITS_2 + CHARTAB_SIZE_BITS_3), (CHARTAB_SIZE_BITS_2 + CHARTAB_SIZE_BITS_3), CHARTAB_SIZE_BITS_3, -- 2.39.2