summaryrefslogtreecommitdiff
path: root/src/dispextern.h
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>1999-09-14 13:09:22 +0000
committerGerd Moellmann <gerd@gnu.org>1999-09-14 13:09:22 +0000
commit5ae040a66797c9d69282352db4ed147a63ee0219 (patch)
tree4e68cbc710452c5716548b5d092b28dd554b41b5 /src/dispextern.h
parent0cf452f333d9f71b1d0ef13f39b7503a4170fdea (diff)
downloademacs-5ae040a66797c9d69282352db4ed147a63ee0219.tar.gz
Add prototypes for gamma_correct and
x_kill_gs_process. (xassert) [GLYPH_DEBUG]: Change definition to use do-while.
Diffstat (limited to 'src/dispextern.h')
-rw-r--r--src/dispextern.h4
1 files changed, 3 insertions, 1 deletions
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));