diff options
Diffstat (limited to 'src/character.c')
| -rw-r--r-- | src/character.c | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/src/character.c b/src/character.c index fdaf22f04f8..bac9f6af81e 100644 --- a/src/character.c +++ b/src/character.c | |||
| @@ -232,13 +232,10 @@ translate_char (Lisp_Object table, int c) | |||
| 232 | } | 232 | } |
| 233 | 233 | ||
| 234 | /* Convert ASCII or 8-bit character C to unibyte. If C is none of | 234 | /* Convert ASCII or 8-bit character C to unibyte. If C is none of |
| 235 | them, return (C & 0xFF). | 235 | them, return (C & 0xFF). */ |
| 236 | |||
| 237 | The argument REV_TBL is now ignored. It will be removed in the | ||
| 238 | future. */ | ||
| 239 | 236 | ||
| 240 | int | 237 | int |
| 241 | multibyte_char_to_unibyte (int c, Lisp_Object rev_tbl) | 238 | multibyte_char_to_unibyte (int c) |
| 242 | { | 239 | { |
| 243 | if (c < 0x80) | 240 | if (c < 0x80) |
| 244 | return c; | 241 | return c; |
| @@ -893,9 +890,10 @@ DEFUN ("string", Fstring, Sstring, 0, MANY, 0, | |||
| 893 | doc: /* | 890 | doc: /* |
| 894 | Concatenate all the argument characters and make the result a string. | 891 | Concatenate all the argument characters and make the result a string. |
| 895 | usage: (string &rest CHARACTERS) */) | 892 | usage: (string &rest CHARACTERS) */) |
| 896 | (int n, Lisp_Object *args) | 893 | (size_t n, Lisp_Object *args) |
| 897 | { | 894 | { |
| 898 | int i, c; | 895 | size_t i; |
| 896 | int c; | ||
| 899 | unsigned char *buf, *p; | 897 | unsigned char *buf, *p; |
| 900 | Lisp_Object str; | 898 | Lisp_Object str; |
| 901 | USE_SAFE_ALLOCA; | 899 | USE_SAFE_ALLOCA; |
| @@ -918,9 +916,10 @@ usage: (string &rest CHARACTERS) */) | |||
| 918 | DEFUN ("unibyte-string", Funibyte_string, Sunibyte_string, 0, MANY, 0, | 916 | DEFUN ("unibyte-string", Funibyte_string, Sunibyte_string, 0, MANY, 0, |
| 919 | doc: /* Concatenate all the argument bytes and make the result a unibyte string. | 917 | doc: /* Concatenate all the argument bytes and make the result a unibyte string. |
| 920 | usage: (unibyte-string &rest BYTES) */) | 918 | usage: (unibyte-string &rest BYTES) */) |
| 921 | (int n, Lisp_Object *args) | 919 | (size_t n, Lisp_Object *args) |
| 922 | { | 920 | { |
| 923 | int i, c; | 921 | size_t i; |
| 922 | int c; | ||
| 924 | unsigned char *buf, *p; | 923 | unsigned char *buf, *p; |
| 925 | Lisp_Object str; | 924 | Lisp_Object str; |
| 926 | USE_SAFE_ALLOCA; | 925 | USE_SAFE_ALLOCA; |