aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDave Love2002-05-24 15:32:30 +0000
committerDave Love2002-05-24 15:32:30 +0000
commit505af2457340a55c223f175ef3ec2656ee197884 (patch)
tree0d023e2df898564c87b9f04626794b96d1540513 /src
parent8d9f01ce4cefb5287bb9849cecdbfff73255e774 (diff)
downloademacs-505af2457340a55c223f175ef3ec2656ee197884.tar.gz
emacs-505af2457340a55c223f175ef3ec2656ee197884.zip
(costs_set): Declare static, non-initialized for pcc.
(encode_terminal_code): Remove ensued var.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog20
-rw-r--r--src/term.c3
2 files changed, 20 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index a3ede818370..50cfa1e82e6 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,21 @@
12002-05-24 Dave Love <fx@gnu.org>
2
3 * term.c (costs_set): Declare static, non-initialized for pcc.
4 (encode_terminal_code): Remove ensued var.
5
6 * keyboard.c (kbd_buffer_store_event): Fix interrupt_signal decl
7 for K&R.
8
9 * xterm.c (xlwmenu_window_p): Fix prototype for K&R.
10
11 * coding.c (setup_iso_safe_charsets): Fix arg decl for K&R.
12 (suffixes): Moved out of make_subsidiaries for K&R.
13
14 * charset.c (map_charset_chars): Fix c_function declaration for
15 K&R.
16
17 * lisp.h (DEFUN) [!PROTOTYPES]: Remove spurious `args'.
18
12002-05-23 Dave Love <fx@gnu.org> 192002-05-23 Dave Love <fx@gnu.org>
2 20
3 * data.c (Fchar_or_string_p): Doc fix. Use CHARACTERP. 21 * data.c (Fchar_or_string_p): Doc fix. Use CHARACTERP.
@@ -16763,6 +16781,6 @@ See ChangeLog.8 for earlier changes.
16763;; coding: iso-2022-7bit 16781;; coding: iso-2022-7bit
16764;; End: 16782;; End:
16765 16783
16766 Copyright (C) 2001 Free Software Foundation, Inc. 16784 Copyright (C) 2001, 2002 Free Software Foundation, Inc.
16767 Copying and distribution of this file, with or without modification, 16785 Copying and distribution of this file, with or without modification,
16768 are permitted provided the copyright notice and this notice are preserved. 16786 are permitted provided the copyright notice and this notice are preserved.
diff --git a/src/term.c b/src/term.c
index 9a66b6b7e25..cb4c63529e2 100644
--- a/src/term.c
+++ b/src/term.c
@@ -376,7 +376,7 @@ int max_frame_width;
376 376
377int max_frame_height; 377int max_frame_height;
378 378
379int costs_set = 0; /* Nonzero if costs have been calculated. */ 379static int costs_set; /* Nonzero if costs have been calculated. */
380 380
381int insert_mode; /* Nonzero when in insert mode. */ 381int insert_mode; /* Nonzero when in insert mode. */
382int standout_mode; /* Nonzero when in standout mode. */ 382int standout_mode; /* Nonzero when in standout mode. */
@@ -816,7 +816,6 @@ encode_terminal_code (src, dst, src_len, dst_len, consumed)
816 int len; 816 int len;
817 register int tlen = GLYPH_TABLE_LENGTH; 817 register int tlen = GLYPH_TABLE_LENGTH;
818 register Lisp_Object *tbase = GLYPH_TABLE_BASE; 818 register Lisp_Object *tbase = GLYPH_TABLE_BASE;
819 int result;
820 struct coding_system *coding; 819 struct coding_system *coding;
821 820
822 /* If terminal_coding does any conversion, use it, otherwise use 821 /* If terminal_coding does any conversion, use it, otherwise use