From 505af2457340a55c223f175ef3ec2656ee197884 Mon Sep 17 00:00:00 2001 From: Dave Love Date: Fri, 24 May 2002 15:32:30 +0000 Subject: [PATCH] (costs_set): Declare static, non-initialized for pcc. (encode_terminal_code): Remove ensued var. --- src/ChangeLog | 20 +++++++++++++++++++- src/term.c | 3 +-- 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 @@ +2002-05-24 Dave Love + + * term.c (costs_set): Declare static, non-initialized for pcc. + (encode_terminal_code): Remove ensued var. + + * keyboard.c (kbd_buffer_store_event): Fix interrupt_signal decl + for K&R. + + * xterm.c (xlwmenu_window_p): Fix prototype for K&R. + + * coding.c (setup_iso_safe_charsets): Fix arg decl for K&R. + (suffixes): Moved out of make_subsidiaries for K&R. + + * charset.c (map_charset_chars): Fix c_function declaration for + K&R. + + * lisp.h (DEFUN) [!PROTOTYPES]: Remove spurious `args'. + 2002-05-23 Dave Love * data.c (Fchar_or_string_p): Doc fix. Use CHARACTERP. @@ -16763,6 +16781,6 @@ See ChangeLog.8 for earlier changes. ;; coding: iso-2022-7bit ;; End: - Copyright (C) 2001 Free Software Foundation, Inc. + Copyright (C) 2001, 2002 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, 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; int max_frame_height; -int costs_set = 0; /* Nonzero if costs have been calculated. */ +static int costs_set; /* Nonzero if costs have been calculated. */ int insert_mode; /* Nonzero when in insert mode. */ int standout_mode; /* Nonzero when in standout mode. */ @@ -816,7 +816,6 @@ encode_terminal_code (src, dst, src_len, dst_len, consumed) int len; register int tlen = GLYPH_TABLE_LENGTH; register Lisp_Object *tbase = GLYPH_TABLE_BASE; - int result; struct coding_system *coding; /* If terminal_coding does any conversion, use it, otherwise use -- 2.39.2