From: Gerd Moellmann Date: Tue, 14 Sep 1999 13:09:22 +0000 (+0000) Subject: Add prototypes for gamma_correct and X-Git-Tag: emacs-pretest-21.0.90~6734 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5ae040a66797c9d69282352db4ed147a63ee0219;p=emacs.git Add prototypes for gamma_correct and x_kill_gs_process. (xassert) [GLYPH_DEBUG]: Change definition to use do-while. --- diff --git a/src/dispextern.h b/src/dispextern.h index 1545770372a..9e717a10c18 100644 --- a/src/dispextern.h +++ b/src/dispextern.h @@ -69,7 +69,7 @@ struct window; #if GLYPH_DEBUG #define IF_DEBUG(X) X -#define xassert(X) if (!(X)) abort (); else (void) 0 +#define xassert(X) do {if (!(X)) abort ();} while (0) #else #define IF_DEBUG(X) (void) 0 #define xassert(X) (void) 0 @@ -2114,6 +2114,8 @@ extern Lisp_Object Qforeground_color, Qbackground_color; #ifdef HAVE_X_WINDOWS +void gamma_correct P_ ((struct frame *, XColor *)); +void x_kill_gs_process P_ ((Pixmap, struct frame *)); int x_screen_planes P_ ((struct frame *)); void x_implicitly_set_name P_ ((struct frame *, Lisp_Object, Lisp_Object)); struct image_cache *make_image_cache P_ ((void));