diff options
| author | Paul Eggert | 2011-03-07 20:41:22 -0800 |
|---|---|---|
| committer | Paul Eggert | 2011-03-07 20:41:22 -0800 |
| commit | e2f1bab96318b2809aad624ee9bbbdfd7fd6dd6e (patch) | |
| tree | b66ec185dc1ad486b2aa731a139035265abca826 /src | |
| parent | 2735d0606bd871584b2e6343f3dce4c1a155b296 (diff) | |
| download | emacs-e2f1bab96318b2809aad624ee9bbbdfd7fd6dd6e.tar.gz emacs-e2f1bab96318b2809aad624ee9bbbdfd7fd6dd6e.zip | |
* coding.c (emacs_mule_char, encode_invocation_designation):
Now static, since they're not used elsewhere.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 2 | ||||
| -rw-r--r-- | src/coding.c | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index bbcc067fecd..3a5a4c97628 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -50,6 +50,8 @@ | |||
| 50 | (Fdecode_sjis_char, Fdefine_coding_system_internal): | 50 | (Fdecode_sjis_char, Fdefine_coding_system_internal): |
| 51 | Rename locals to avoid shadowing. | 51 | Rename locals to avoid shadowing. |
| 52 | * character.h (FETCH_STRING_CHAR_ADVANCE): Likewise. | 52 | * character.h (FETCH_STRING_CHAR_ADVANCE): Likewise. |
| 53 | * coding.c (emacs_mule_char, encode_invocation_designation): | ||
| 54 | Now static, since they're not used elsewhere. | ||
| 53 | 55 | ||
| 54 | 2011-03-06 Chong Yidong <cyd@stupidchicken.com> | 56 | 2011-03-06 Chong Yidong <cyd@stupidchicken.com> |
| 55 | 57 | ||
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, | |||
| 1982 | the decoded character or rule. If an invalid byte is found, return | 1982 | the decoded character or rule. If an invalid byte is found, return |
| 1983 | -1. If SRC is too short, return -2. */ | 1983 | -1. If SRC is too short, return -2. */ |
| 1984 | 1984 | ||
| 1985 | int | 1985 | static int |
| 1986 | emacs_mule_char (struct coding_system *coding, const unsigned char *src, | 1986 | emacs_mule_char (struct coding_system *coding, const unsigned char *src, |
| 1987 | int *nbytes, int *nchars, int *id, | 1987 | int *nbytes, int *nchars, int *id, |
| 1988 | struct composition_status *cmp_status) | 1988 | struct composition_status *cmp_status) |
| @@ -4228,7 +4228,7 @@ decode_coding_iso_2022 (struct coding_system *coding) | |||
| 4228 | to use CHARSET. The element `spec.iso_2022' of *CODING is updated. | 4228 | to use CHARSET. The element `spec.iso_2022' of *CODING is updated. |
| 4229 | Return new DST. */ | 4229 | Return new DST. */ |
| 4230 | 4230 | ||
| 4231 | unsigned char * | 4231 | static unsigned char * |
| 4232 | encode_invocation_designation (struct charset *charset, | 4232 | encode_invocation_designation (struct charset *charset, |
| 4233 | struct coding_system *coding, | 4233 | struct coding_system *coding, |
| 4234 | unsigned char *dst, int *p_nchars) | 4234 | unsigned char *dst, int *p_nchars) |