From 5ae040a66797c9d69282352db4ed147a63ee0219 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Tue, 14 Sep 1999 13:09:22 +0000 Subject: [PATCH] Add prototypes for gamma_correct and x_kill_gs_process. (xassert) [GLYPH_DEBUG]: Change definition to use do-while. --- src/dispextern.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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)); -- 2.39.5