aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2011-03-08 09:30:15 -0800
committerPaul Eggert2011-03-08 09:30:15 -0800
commit72abad34056c26fce75f8ece4b66ce386f2d0725 (patch)
tree51b290f1674184e97db7329e8562c6ce91261334 /src
parent6be7d3dab6a206d26d1845e3791eaf26be1be72f (diff)
downloademacs-72abad34056c26fce75f8ece4b66ce386f2d0725.tar.gz
emacs-72abad34056c26fce75f8ece4b66ce386f2d0725.zip
* term.c (encode_terminal_code): Now static.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog2
-rw-r--r--src/term.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 477e74483e6..325822a29a2 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -85,6 +85,8 @@
85 * cm.c (cmgoto): Mark variables that gcc -Wuninitialized does not 85 * cm.c (cmgoto): Mark variables that gcc -Wuninitialized does not
86 deduce are never used uninitialized. 86 deduce are never used uninitialized.
87 87
88 * term.c (encode_terminal_code): Now static.
89
882011-03-06 Chong Yidong <cyd@stupidchicken.com> 902011-03-06 Chong Yidong <cyd@stupidchicken.com>
89 91
90 * xdisp.c (redisplay_window): Revert incorrect logic in 2011-03-06 92 * xdisp.c (redisplay_window): Revert incorrect logic in 2011-03-06
diff --git a/src/term.c b/src/term.c
index f082bb40e89..873ffaba299 100644
--- a/src/term.c
+++ b/src/term.c
@@ -512,7 +512,7 @@ static int encode_terminal_dst_size;
512 Set CODING->produced to the byte-length of the resulting byte 512 Set CODING->produced to the byte-length of the resulting byte
513 sequence, and return a pointer to that byte sequence. */ 513 sequence, and return a pointer to that byte sequence. */
514 514
515unsigned char * 515static unsigned char *
516encode_terminal_code (struct glyph *src, int src_len, struct coding_system *coding) 516encode_terminal_code (struct glyph *src, int src_len, struct coding_system *coding)
517{ 517{
518 struct glyph *src_end = src + src_len; 518 struct glyph *src_end = src + src_len;