From: Paul Eggert Date: Tue, 8 Mar 2011 04:41:22 +0000 (-0800) Subject: * coding.c (emacs_mule_char, encode_invocation_designation): X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~605^2^2~60 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e2f1bab96318b2809aad624ee9bbbdfd7fd6dd6e;p=emacs.git * coding.c (emacs_mule_char, encode_invocation_designation): Now static, since they're not used elsewhere. --- diff --git a/src/ChangeLog b/src/ChangeLog index bbcc067fecd..3a5a4c97628 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -50,6 +50,8 @@ (Fdecode_sjis_char, Fdefine_coding_system_internal): Rename locals to avoid shadowing. * character.h (FETCH_STRING_CHAR_ADVANCE): Likewise. + * coding.c (emacs_mule_char, encode_invocation_designation): + Now static, since they're not used elsewhere. 2011-03-06 Chong Yidong diff --git a/src/coding.c b/src/coding.c index 495e8148b05..4fdbd1fd752 100644 --- a/src/coding.c +++ b/src/coding.c @@ -1982,7 +1982,7 @@ detect_coding_emacs_mule (struct coding_system *coding, the decoded character or rule. If an invalid byte is found, return -1. If SRC is too short, return -2. */ -int +static int emacs_mule_char (struct coding_system *coding, const unsigned char *src, int *nbytes, int *nchars, int *id, struct composition_status *cmp_status) @@ -4228,7 +4228,7 @@ decode_coding_iso_2022 (struct coding_system *coding) to use CHARSET. The element `spec.iso_2022' of *CODING is updated. Return new DST. */ -unsigned char * +static unsigned char * encode_invocation_designation (struct charset *charset, struct coding_system *coding, unsigned char *dst, int *p_nchars)