changeset 25708:a6aabf050a60

Add prototypes for gamma_correct and x_kill_gs_process. (xassert) [GLYPH_DEBUG]: Change definition to use do-while.
author Gerd Moellmann <gerd@gnu.org>
date Tue, 14 Sep 1999 13:09:22 +0000
parents 80e98999e8d9
children ba4e2a641663
files src/dispextern.h
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/dispextern.h	Tue Sep 14 10:15:51 1999 +0000
+++ b/src/dispextern.h	Tue Sep 14 13:09:22 1999 +0000
@@ -69,7 +69,7 @@
 
 #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 @@
 
 #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));