diff options
Diffstat (limited to 'src/charset.c')
| -rw-r--r-- | src/charset.c | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/src/charset.c b/src/charset.c index 783d7db5733..c4699dcb0a7 100644 --- a/src/charset.c +++ b/src/charset.c | |||
| @@ -68,17 +68,17 @@ Lisp_Object Qcharsetp; | |||
| 68 | 68 | ||
| 69 | /* Special charset symbols. */ | 69 | /* Special charset symbols. */ |
| 70 | Lisp_Object Qascii; | 70 | Lisp_Object Qascii; |
| 71 | Lisp_Object Qeight_bit; | 71 | static Lisp_Object Qeight_bit; |
| 72 | Lisp_Object Qiso_8859_1; | 72 | static Lisp_Object Qiso_8859_1; |
| 73 | Lisp_Object Qunicode; | 73 | static Lisp_Object Qunicode; |
| 74 | Lisp_Object Qemacs; | 74 | static Lisp_Object Qemacs; |
| 75 | 75 | ||
| 76 | /* The corresponding charsets. */ | 76 | /* The corresponding charsets. */ |
| 77 | int charset_ascii; | 77 | int charset_ascii; |
| 78 | int charset_eight_bit; | 78 | int charset_eight_bit; |
| 79 | int charset_iso_8859_1; | 79 | static int charset_iso_8859_1; |
| 80 | int charset_unicode; | 80 | int charset_unicode; |
| 81 | int charset_emacs; | 81 | static int charset_emacs; |
| 82 | 82 | ||
| 83 | /* The other special charsets. */ | 83 | /* The other special charsets. */ |
| 84 | int charset_jisx0201_roman; | 84 | int charset_jisx0201_roman; |
| @@ -87,7 +87,7 @@ int charset_jisx0208; | |||
| 87 | int charset_ksc5601; | 87 | int charset_ksc5601; |
| 88 | 88 | ||
| 89 | /* Value of charset attribute `charset-iso-plane'. */ | 89 | /* Value of charset attribute `charset-iso-plane'. */ |
| 90 | Lisp_Object Qgl, Qgr; | 90 | static Lisp_Object Qgl, Qgr; |
| 91 | 91 | ||
| 92 | /* Charset of unibyte characters. */ | 92 | /* Charset of unibyte characters. */ |
| 93 | int charset_unibyte; | 93 | int charset_unibyte; |
| @@ -652,12 +652,10 @@ DEFUN ("charsetp", Fcharsetp, Scharsetp, 1, 1, 0, | |||
| 652 | } | 652 | } |
| 653 | 653 | ||
| 654 | 654 | ||
| 655 | void map_charset_for_dump (void (*c_function) (Lisp_Object, Lisp_Object), | 655 | static void |
| 656 | Lisp_Object function, Lisp_Object arg, | 656 | map_charset_for_dump (void (*c_function) (Lisp_Object, Lisp_Object), |
| 657 | unsigned from, unsigned to); | 657 | Lisp_Object function, Lisp_Object arg, |
| 658 | 658 | unsigned int from, unsigned int to) | |
| 659 | void | ||
| 660 | map_charset_for_dump (void (*c_function) (Lisp_Object, Lisp_Object), Lisp_Object function, Lisp_Object arg, unsigned int from, unsigned int to) | ||
| 661 | { | 659 | { |
| 662 | int from_idx = CODE_POINT_TO_INDEX (temp_charset_work->current, from); | 660 | int from_idx = CODE_POINT_TO_INDEX (temp_charset_work->current, from); |
| 663 | int to_idx = CODE_POINT_TO_INDEX (temp_charset_work->current, to); | 661 | int to_idx = CODE_POINT_TO_INDEX (temp_charset_work->current, to); |