diff options
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)); |