emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

declaration fixes


From: Dave Love
Subject: declaration fixes
Date: Thu, 05 Feb 2004 14:57:31 +0000
User-agent: Gnus/5.1005 (Gnus v5.10.5) Emacs/21.2 (gnu/linux)

These fix build problems.

2004-02-05  Dave Love  <address@hidden>

        * termhooks.h: Include stdio.h.

        * xfns.c (x_create_bitmap_mask): Remove unused var.
        (Fx_change_window_property): Fix parameter declaration.

--- termhooks.h~        Wed Feb  4 15:37:44 2004
+++ termhooks.h Thu Feb  5 14:37:44 2004
@@ -20,6 +20,8 @@
 Boston, MA 02111-1307, USA.  */
 
 
+#include <stdio.h>             /* for use of FILE below */
+
 /* Miscellanea.   */
 
 struct glyph;
--- xfns.c~     Wed Feb  4 15:35:59 2004
+++ xfns.c      Thu Feb  5 14:35:59 2004
@@ -774,7 +774,6 @@ x_create_bitmap_mask (f, id)
   unsigned long x, y, xp, xm, yp, ym;
   GC gc;
 
-  int depth = DefaultDepthOfScreen (FRAME_X_SCREEN (f));
   struct x_display_info *dpyinfo = FRAME_X_DISPLAY_INFO (f);
 
   if (!(id > 0))
@@ -9493,7 +9492,7 @@ FRAME.  Default is to change on the edit
 
 Value is VALUE.  */)
      (prop, value, frame, type, format, outer_p)
-     Lisp_Object frame, prop, value, outer_p;
+     Lisp_Object frame, type, format, prop, value, outer_p;
 {
   struct frame *f = check_x_frame (frame);
   Atom prop_atom;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]