]> git.eshelyaron.com Git - emacs.git/commitdiff
(costs_set): Declare static, non-initialized for pcc.
authorDave Love <fx@gnu.org>
Fri, 24 May 2002 15:32:30 +0000 (15:32 +0000)
committerDave Love <fx@gnu.org>
Fri, 24 May 2002 15:32:30 +0000 (15:32 +0000)
(encode_terminal_code): Remove ensued var.

src/ChangeLog
src/term.c

index a3ede818370bf286de1dd4730ce58c74dfc00077..50cfa1e82e61e36a245f60896296ffa1753ed701 100644 (file)
@@ -1,3 +1,21 @@
+2002-05-24  Dave Love  <fx@gnu.org>
+
+       * 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  <fx@gnu.org>
 
        * 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.
index 9a66b6b7e255017b2557baebacc17c9b447d9e60..cb4c63529e2d0383d1fed751546fc007c2c2a671 100644 (file)
@@ -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