* coding.c (emacs_mule_char, encode_invocation_designation):
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 8 Mar 2011 04:41:22 +0000 (20:41 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 8 Mar 2011 04:41:22 +0000 (20:41 -0800)
Now static, since they're not used elsewhere.

src/ChangeLog
src/coding.c

index bbcc067..3a5a4c9 100644 (file)
@@ -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  <cyd@stupidchicken.com>
 
index 495e814..4fdbd1f 100644 (file)
@@ -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)