* xterm.c (x_fully_uncatch_errors, x_trace_wire, x_check_font): Convert old-style...
authorAndreas Schwab <schwab@linux-m68k.org>
Thu, 15 Jul 2010 21:54:10 +0000 (23:54 +0200)
committerAndreas Schwab <schwab@linux-m68k.org>
Thu, 15 Jul 2010 21:54:10 +0000 (23:54 +0200)
src/ChangeLog
src/xterm.c

index c2f8c59..35c4294 100644 (file)
@@ -1,5 +1,8 @@
 2010-07-15  Andreas Schwab  <schwab@linux-m68k.org>
 
+       * xterm.c (x_fully_uncatch_errors, x_trace_wire, x_check_font):
+       Convert old-style definition.
+
        * xmenu.c (create_and_show_popup_menu, xmenu_show): Fix type of
        timestamp argument.
 
index 1427797..0f6d432 100644 (file)
@@ -7503,7 +7503,7 @@ x_clear_errors (Display *dpy)
 /* Close off all unclosed x_catch_errors calls.  */
 
 void
-x_fully_uncatch_errors ()
+x_fully_uncatch_errors (void)
 {
   while (x_error_message)
     x_uncatch_errors ();
@@ -7520,7 +7520,7 @@ x_catching_errors (void)
 
 #if 0
 static unsigned int x_wire_count;
-x_trace_wire ()
+x_trace_wire (void)
 {
   fprintf (stderr, "Lib call: %d\n", ++x_wire_count);
 }
@@ -9560,9 +9560,7 @@ x_wm_set_icon_position (struct frame *f, int icon_x, int icon_y)
    font table.  */
 
 static void
-x_check_font (f, font)
-     struct frame *f;
-     struct font *font;
+x_check_font (struct frame *f, struct font *font)
 {
   Lisp_Object frame;