changeset 109441:0ed7d8444705

* xterm.c (x_fully_uncatch_errors, x_trace_wire, x_check_font): Convert old-style definition.
author Andreas Schwab <schwab@linux-m68k.org>
date Thu, 15 Jul 2010 23:54:10 +0200
parents f8f118e78387
children 6c14b478b70f 607d993e49dc
files src/ChangeLog src/xterm.c
diffstat 2 files changed, 6 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Thu Jul 15 23:53:32 2010 +0200
+++ b/src/ChangeLog	Thu Jul 15 23:54:10 2010 +0200
@@ -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.
 
--- a/src/xterm.c	Thu Jul 15 23:53:32 2010 +0200
+++ b/src/xterm.c	Thu Jul 15 23:54:10 2010 +0200
@@ -7503,7 +7503,7 @@
 /* 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 @@
 
 #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 @@
    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;