changeset 100139:fc199de00487

* keyboard.c (read_char_help_form_unwind): Specify the type for ARG. * character.c (c_string_width): Specify the type for LEN.
author Dan Nicolaescu <dann@ics.uci.edu>
date Wed, 03 Dec 2008 02:40:26 +0000
parents 0f7cad881e42
children 1105ea858768
files src/ChangeLog src/character.c src/keyboard.c
diffstat 3 files changed, 8 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Wed Dec 03 02:33:39 2008 +0000
+++ b/src/ChangeLog	Wed Dec 03 02:40:26 2008 +0000
@@ -1,3 +1,9 @@
+2008-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
+
+	* keyboard.c (read_char_help_form_unwind): Specify the type for ARG.
+
+	* character.c (c_string_width): Specify the type for LEN.
+
 2008-12-03  Kenichi Handa  <handa@m17n.org>
 
 	* coding.c (decode_coding_utf_16): Initialize consumed_chars_base
--- a/src/character.c	Wed Dec 03 02:33:39 2008 +0000
+++ b/src/character.c	Wed Dec 03 02:40:26 2008 +0000
@@ -411,9 +411,7 @@
    respectively.  */
 
 int
-c_string_width (str, len, precision, nchars, nbytes)
-     const unsigned char *str;
-     int precision, *nchars, *nbytes;
+c_string_width (const unsigned char *str, int len, int precision, int *nchars, int *nbytes)
 {
   int i = 0, i_byte = 0;
   int width = 0;
--- a/src/keyboard.c	Wed Dec 03 02:33:39 2008 +0000
+++ b/src/keyboard.c	Wed Dec 03 02:40:26 2008 +0000
@@ -2429,7 +2429,7 @@
 
 static Lisp_Object help_form_saved_window_configs;
 static Lisp_Object
-read_char_help_form_unwind (arg)
+read_char_help_form_unwind (Lisp_Object arg)
 {
   Lisp_Object window_config = XCAR (help_form_saved_window_configs);
   help_form_saved_window_configs = XCDR (help_form_saved_window_configs);