aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann1999-09-14 13:09:22 +0000
committerGerd Moellmann1999-09-14 13:09:22 +0000
commit5ae040a66797c9d69282352db4ed147a63ee0219 (patch)
tree4e68cbc710452c5716548b5d092b28dd554b41b5 /src
parent0cf452f333d9f71b1d0ef13f39b7503a4170fdea (diff)
downloademacs-5ae040a66797c9d69282352db4ed147a63ee0219.tar.gz
emacs-5ae040a66797c9d69282352db4ed147a63ee0219.zip
Add prototypes for gamma_correct and
x_kill_gs_process. (xassert) [GLYPH_DEBUG]: Change definition to use do-while.
Diffstat (limited to 'src')
-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;
69 69
70#if GLYPH_DEBUG 70#if GLYPH_DEBUG
71#define IF_DEBUG(X) X 71#define IF_DEBUG(X) X
72#define xassert(X) if (!(X)) abort (); else (void) 0 72#define xassert(X) do {if (!(X)) abort ();} while (0)
73#else 73#else
74#define IF_DEBUG(X) (void) 0 74#define IF_DEBUG(X) (void) 0
75#define xassert(X) (void) 0 75#define xassert(X) (void) 0
@@ -2114,6 +2114,8 @@ extern Lisp_Object Qforeground_color, Qbackground_color;
2114 2114
2115#ifdef HAVE_X_WINDOWS 2115#ifdef HAVE_X_WINDOWS
2116 2116
2117void gamma_correct P_ ((struct frame *, XColor *));
2118void x_kill_gs_process P_ ((Pixmap, struct frame *));
2117int x_screen_planes P_ ((struct frame *)); 2119int x_screen_planes P_ ((struct frame *));
2118void x_implicitly_set_name P_ ((struct frame *, Lisp_Object, Lisp_Object)); 2120void x_implicitly_set_name P_ ((struct frame *, Lisp_Object, Lisp_Object));
2119struct image_cache *make_image_cache P_ ((void)); 2121struct image_cache *make_image_cache P_ ((void));