From: Paul Eggert Date: Mon, 11 Apr 2011 06:50:34 +0000 (-0700) Subject: * chartab.c (chartab_chars, chartab_bits): Now static. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~342 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=38dfbee187191f15de9e6a171eee8be5072db296;p=emacs.git * chartab.c (chartab_chars, chartab_bits): Now static. --- 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,