diff options
| author | Gerd Moellmann | 1999-09-14 13:09:22 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 1999-09-14 13:09:22 +0000 |
| commit | 5ae040a66797c9d69282352db4ed147a63ee0219 (patch) | |
| tree | 4e68cbc710452c5716548b5d092b28dd554b41b5 /src | |
| parent | 0cf452f333d9f71b1d0ef13f39b7503a4170fdea (diff) | |
| download | emacs-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.h | 4 |
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 | ||
| 2117 | void gamma_correct P_ ((struct frame *, XColor *)); | ||
| 2118 | void x_kill_gs_process P_ ((Pixmap, struct frame *)); | ||
| 2117 | int x_screen_planes P_ ((struct frame *)); | 2119 | int x_screen_planes P_ ((struct frame *)); |
| 2118 | void x_implicitly_set_name P_ ((struct frame *, Lisp_Object, Lisp_Object)); | 2120 | void x_implicitly_set_name P_ ((struct frame *, Lisp_Object, Lisp_Object)); |
| 2119 | struct image_cache *make_image_cache P_ ((void)); | 2121 | struct image_cache *make_image_cache P_ ((void)); |