diff options
| author | Kenichi Handa | 2003-12-29 07:51:57 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2003-12-29 07:51:57 +0000 |
| commit | 5af5dd920e3bcf4213a29ec89f63af0cee104c6c (patch) | |
| tree | 5b0563935a43828950659880ecdb683d25043479 /src | |
| parent | 0321663c42deff8636d5f9c7301c89f9de264536 (diff) | |
| download | emacs-5af5dd920e3bcf4213a29ec89f63af0cee104c6c.tar.gz emacs-5af5dd920e3bcf4213a29ec89f63af0cee104c6c.zip | |
(charset_table_used): Make it static.
(map_charset_chars): Fix args to c_function with.
Diffstat (limited to 'src')
| -rw-r--r-- | src/charset.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/charset.c b/src/charset.c index 20b4f04065f..8fdf7bc9233 100644 --- a/src/charset.c +++ b/src/charset.c | |||
| @@ -63,7 +63,7 @@ Lisp_Object Vcharset_hash_table; | |||
| 63 | struct charset *charset_table; | 63 | struct charset *charset_table; |
| 64 | 64 | ||
| 65 | static int charset_table_size; | 65 | static int charset_table_size; |
| 66 | int charset_table_used; | 66 | static int charset_table_used; |
| 67 | 67 | ||
| 68 | Lisp_Object Qcharsetp; | 68 | Lisp_Object Qcharsetp; |
| 69 | 69 | ||
| @@ -583,7 +583,7 @@ map_charset_chars (c_function, function, arg, | |||
| 583 | 583 | ||
| 584 | range = Fcons (make_number (from_c), make_number (to_c)); | 584 | range = Fcons (make_number (from_c), make_number (to_c)); |
| 585 | if (NILP (function)) | 585 | if (NILP (function)) |
| 586 | (*c_function) (range, arg); | 586 | (*c_function) (arg, range); |
| 587 | else | 587 | else |
| 588 | call2 (function, range, arg); | 588 | call2 (function, range, arg); |
| 589 | } | 589 | } |
| @@ -598,7 +598,7 @@ map_charset_chars (c_function, function, arg, | |||
| 598 | XSETCAR (range, make_number (127)); | 598 | XSETCAR (range, make_number (127)); |
| 599 | 599 | ||
| 600 | if (NILP (function)) | 600 | if (NILP (function)) |
| 601 | (*c_function) (range, arg); | 601 | (*c_function) (arg, range); |
| 602 | else | 602 | else |
| 603 | call2 (function, range, arg); | 603 | call2 (function, range, arg); |
| 604 | } | 604 | } |