diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/charset.c | 14 | ||||
| -rw-r--r-- | src/charset.h | 1 |
3 files changed, 10 insertions, 9 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index dcbab4b96b7..baf0c1f10a1 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,9 @@ | |||
| 1 | 2011-04-11 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-04-11 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | * charset.h (charset_iso_8859_1): Remove decl. | ||
| 4 | * charset.c (charset_iso_8859_1, charset_emacs, map_charset_for_dump): | ||
| 5 | Now static. | ||
| 6 | |||
| 3 | * ccl.h (check_ccl_update, Vccl_program_table): Remove decls. | 7 | * ccl.h (check_ccl_update, Vccl_program_table): Remove decls. |
| 4 | * ccl.c (Vccl_program_table): Now static. | 8 | * ccl.c (Vccl_program_table): Now static. |
| 5 | (check_ccl_update): Remove; unused. | 9 | (check_ccl_update): Remove; unused. |
diff --git a/src/charset.c b/src/charset.c index dc91cea2e12..cc7c53ae61c 100644 --- a/src/charset.c +++ b/src/charset.c | |||
| @@ -76,9 +76,9 @@ static Lisp_Object Qemacs; | |||
| 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; |
| @@ -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); |
diff --git a/src/charset.h b/src/charset.h index fef50394e6e..74d55a31b43 100644 --- a/src/charset.h +++ b/src/charset.h | |||
| @@ -519,7 +519,6 @@ extern Lisp_Object Qcharsetp; | |||
| 519 | 519 | ||
| 520 | extern Lisp_Object Qascii; | 520 | extern Lisp_Object Qascii; |
| 521 | extern int charset_ascii, charset_eight_bit; | 521 | extern int charset_ascii, charset_eight_bit; |
| 522 | extern int charset_iso_8859_1; | ||
| 523 | extern int charset_unicode; | 522 | extern int charset_unicode; |
| 524 | extern int charset_jisx0201_roman; | 523 | extern int charset_jisx0201_roman; |
| 525 | extern int charset_jisx0208_1978; | 524 | extern int charset_jisx0208_1978; |