* keyboard.c (read_char_help_form_unwind): Specify the type for ARG.
authorDan Nicolaescu <dann@ics.uci.edu>
Wed, 3 Dec 2008 02:40:26 +0000 (02:40 +0000)
committerDan Nicolaescu <dann@ics.uci.edu>
Wed, 3 Dec 2008 02:40:26 +0000 (02:40 +0000)
* character.c (c_string_width): Specify the type for LEN.

src/ChangeLog
src/character.c
src/keyboard.c

index a932a97..01518ff 100644 (file)
@@ -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
index 27ea100..1f88432 100644 (file)
@@ -411,9 +411,7 @@ usage: (char-width CHAR)  */)
    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;
index 77d5893..f04ab9c 100644 (file)
@@ -2429,7 +2429,7 @@ static void record_char ();
 
 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);