From: Paul Eggert Date: Tue, 8 Mar 2011 07:49:41 +0000 (-0800) Subject: * character.c (string_count_byte8): Likewise. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~605^2^2~51 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d0891610cbb712da0acf7ef435a93b7b2d37579d;p=emacs.git * character.c (string_count_byte8): Likewise. --- diff --git a/src/ChangeLog b/src/ChangeLog index 2b894e9a511..8102f455802 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -67,6 +67,7 @@ * category.c (hash_get_category_set): Remove unused local var. (copy_category_table): Now static, since it's not used elsewhere. + * character.c (string_count_byte8): Likewise. * ccl.c (CCL_WRITE_STRING, CCL_ENCODE_CHAR, Fccl_execute_on_string): (Fregister_code_conversion_map): Rename locals to avoid shadowing. diff --git a/src/character.c b/src/character.c index 6f3312fec29..fdaf22f04f8 100644 --- a/src/character.c +++ b/src/character.c @@ -786,7 +786,7 @@ str_to_unibyte (const unsigned char *src, unsigned char *dst, EMACS_INT chars, i } -EMACS_INT +static EMACS_INT string_count_byte8 (Lisp_Object string) { int multibyte = STRING_MULTIBYTE (string);