aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2011-05-28 15:39:39 -0700
committerPaul Eggert2011-05-28 15:39:39 -0700
commit55d4c1b248e84d347ae73278faff623741f52691 (patch)
treeabc6d768607b08bbf51eeb7a12cb693c4660db13 /src
parent4ac619f07bc6d7560a04f5aa505c6ef084975d93 (diff)
downloademacs-55d4c1b248e84d347ae73278faff623741f52691.tar.gz
emacs-55d4c1b248e84d347ae73278faff623741f52691.zip
[ChangeLog]
Use 'inline', not 'INLINE'. * configure.in, autogen/config.in (INLINE): Remove. [lib-src/ChangeLog] Use 'inline', not 'INLINE'. * etags.c (hash): Now inline unconditionally. * make-docfile.c (put_char): inline, not INLINE. [nt/ChangeLog] Use 'inline', not 'INLINE'. * config.nt (INLINE): Remove. [src/ChangeLog] Use 'inline', not 'INLINE'. * alloc.c, fontset.c (INLINE): Remove. * alloc.c, bidi.c, charset.c, coding.c, dispnew.c, fns.c, image.c: * intervals.c, keyboard.c, process.c, syntax.c, textprop.c, w32term.c: * xdisp.c, xfaces.c, xterm.c: Replace all uses of INLINE with inline. * gmalloc.c (register_heapinfo): Use inline unconditionally. * lisp.h (LISP_MAKE_RVALUE): Use inline, not __inline__.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog10
-rw-r--r--src/alloc.c26
-rw-r--r--src/bidi.c34
-rw-r--r--src/charset.c2
-rw-r--r--src/coding.c18
-rw-r--r--src/dispnew.c14
-rw-r--r--src/fns.c2
-rw-r--r--src/fontset.c2
-rw-r--r--src/gmalloc.c9
-rw-r--r--src/image.c2
-rw-r--r--src/intervals.c14
-rw-r--r--src/keyboard.c2
-rw-r--r--src/lisp.h2
-rw-r--r--src/process.c2
-rw-r--r--src/syntax.c2
-rw-r--r--src/textprop.c6
-rw-r--r--src/w32term.c8
-rw-r--r--src/xdisp.c48
-rw-r--r--src/xfaces.c38
-rw-r--r--src/xterm.c8
20 files changed, 124 insertions, 125 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 1546348bfbf..f31e68e9b7b 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,13 @@
12011-05-28 Paul Eggert <eggert@cs.ucla.edu>
2
3 Use 'inline', not 'INLINE'.
4 * alloc.c, fontset.c (INLINE): Remove.
5 * alloc.c, bidi.c, charset.c, coding.c, dispnew.c, fns.c, image.c:
6 * intervals.c, keyboard.c, process.c, syntax.c, textprop.c, w32term.c:
7 * xdisp.c, xfaces.c, xterm.c: Replace all uses of INLINE with inline.
8 * gmalloc.c (register_heapinfo): Use inline unconditionally.
9 * lisp.h (LISP_MAKE_RVALUE): Use inline, not __inline__.
10
12011-05-28 William Xu <william.xwl@gmail.com> 112011-05-28 William Xu <william.xwl@gmail.com>
2 12
3 * nsterm.m (ns_term_shutdown): Synchronize user defaults before 13 * nsterm.m (ns_term_shutdown): Synchronize user defaults before
diff --git a/src/alloc.c b/src/alloc.c
index 3f7bed571c7..f62ae125408 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -22,10 +22,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
22#include <limits.h> /* For CHAR_BIT. */ 22#include <limits.h> /* For CHAR_BIT. */
23#include <setjmp.h> 23#include <setjmp.h>
24 24
25#ifdef ALLOC_DEBUG
26#undef INLINE
27#endif
28
29#include <signal.h> 25#include <signal.h>
30 26
31#ifdef HAVE_GTK_AND_PTHREAD 27#ifdef HAVE_GTK_AND_PTHREAD
@@ -408,7 +404,7 @@ static void mem_rotate_left (struct mem_node *);
408static void mem_rotate_right (struct mem_node *); 404static void mem_rotate_right (struct mem_node *);
409static void mem_delete (struct mem_node *); 405static void mem_delete (struct mem_node *);
410static void mem_delete_fixup (struct mem_node *); 406static void mem_delete_fixup (struct mem_node *);
411static INLINE struct mem_node *mem_find (void *); 407static inline struct mem_node *mem_find (void *);
412 408
413 409
414#if GC_MARK_STACK == GC_MARK_STACK_CHECK_GCPROS 410#if GC_MARK_STACK == GC_MARK_STACK_CHECK_GCPROS
@@ -3376,7 +3372,7 @@ mem_init (void)
3376/* Value is a pointer to the mem_node containing START. Value is 3372/* Value is a pointer to the mem_node containing START. Value is
3377 MEM_NIL if there is no node in the tree containing START. */ 3373 MEM_NIL if there is no node in the tree containing START. */
3378 3374
3379static INLINE struct mem_node * 3375static inline struct mem_node *
3380mem_find (void *start) 3376mem_find (void *start)
3381{ 3377{
3382 struct mem_node *p; 3378 struct mem_node *p;
@@ -3752,7 +3748,7 @@ mem_delete_fixup (struct mem_node *x)
3752/* Value is non-zero if P is a pointer to a live Lisp string on 3748/* Value is non-zero if P is a pointer to a live Lisp string on
3753 the heap. M is a pointer to the mem_block for P. */ 3749 the heap. M is a pointer to the mem_block for P. */
3754 3750
3755static INLINE int 3751static inline int
3756live_string_p (struct mem_node *m, void *p) 3752live_string_p (struct mem_node *m, void *p)
3757{ 3753{
3758 if (m->type == MEM_TYPE_STRING) 3754 if (m->type == MEM_TYPE_STRING)
@@ -3775,7 +3771,7 @@ live_string_p (struct mem_node *m, void *p)
3775/* Value is non-zero if P is a pointer to a live Lisp cons on 3771/* Value is non-zero if P is a pointer to a live Lisp cons on
3776 the heap. M is a pointer to the mem_block for P. */ 3772 the heap. M is a pointer to the mem_block for P. */
3777 3773
3778static INLINE int 3774static inline int
3779live_cons_p (struct mem_node *m, void *p) 3775live_cons_p (struct mem_node *m, void *p)
3780{ 3776{
3781 if (m->type == MEM_TYPE_CONS) 3777 if (m->type == MEM_TYPE_CONS)
@@ -3801,7 +3797,7 @@ live_cons_p (struct mem_node *m, void *p)
3801/* Value is non-zero if P is a pointer to a live Lisp symbol on 3797/* Value is non-zero if P is a pointer to a live Lisp symbol on
3802 the heap. M is a pointer to the mem_block for P. */ 3798 the heap. M is a pointer to the mem_block for P. */
3803 3799
3804static INLINE int 3800static inline int
3805live_symbol_p (struct mem_node *m, void *p) 3801live_symbol_p (struct mem_node *m, void *p)
3806{ 3802{
3807 if (m->type == MEM_TYPE_SYMBOL) 3803 if (m->type == MEM_TYPE_SYMBOL)
@@ -3827,7 +3823,7 @@ live_symbol_p (struct mem_node *m, void *p)
3827/* Value is non-zero if P is a pointer to a live Lisp float on 3823/* Value is non-zero if P is a pointer to a live Lisp float on
3828 the heap. M is a pointer to the mem_block for P. */ 3824 the heap. M is a pointer to the mem_block for P. */
3829 3825
3830static INLINE int 3826static inline int
3831live_float_p (struct mem_node *m, void *p) 3827live_float_p (struct mem_node *m, void *p)
3832{ 3828{
3833 if (m->type == MEM_TYPE_FLOAT) 3829 if (m->type == MEM_TYPE_FLOAT)
@@ -3851,7 +3847,7 @@ live_float_p (struct mem_node *m, void *p)
3851/* Value is non-zero if P is a pointer to a live Lisp Misc on 3847/* Value is non-zero if P is a pointer to a live Lisp Misc on
3852 the heap. M is a pointer to the mem_block for P. */ 3848 the heap. M is a pointer to the mem_block for P. */
3853 3849
3854static INLINE int 3850static inline int
3855live_misc_p (struct mem_node *m, void *p) 3851live_misc_p (struct mem_node *m, void *p)
3856{ 3852{
3857 if (m->type == MEM_TYPE_MISC) 3853 if (m->type == MEM_TYPE_MISC)
@@ -3877,7 +3873,7 @@ live_misc_p (struct mem_node *m, void *p)
3877/* Value is non-zero if P is a pointer to a live vector-like object. 3873/* Value is non-zero if P is a pointer to a live vector-like object.
3878 M is a pointer to the mem_block for P. */ 3874 M is a pointer to the mem_block for P. */
3879 3875
3880static INLINE int 3876static inline int
3881live_vector_p (struct mem_node *m, void *p) 3877live_vector_p (struct mem_node *m, void *p)
3882{ 3878{
3883 return (p == m->start && m->type == MEM_TYPE_VECTORLIKE); 3879 return (p == m->start && m->type == MEM_TYPE_VECTORLIKE);
@@ -3887,7 +3883,7 @@ live_vector_p (struct mem_node *m, void *p)
3887/* Value is non-zero if P is a pointer to a live buffer. M is a 3883/* Value is non-zero if P is a pointer to a live buffer. M is a
3888 pointer to the mem_block for P. */ 3884 pointer to the mem_block for P. */
3889 3885
3890static INLINE int 3886static inline int
3891live_buffer_p (struct mem_node *m, void *p) 3887live_buffer_p (struct mem_node *m, void *p)
3892{ 3888{
3893 /* P must point to the start of the block, and the buffer 3889 /* P must point to the start of the block, and the buffer
@@ -3953,7 +3949,7 @@ DEFUN ("gc-status", Fgc_status, Sgc_status, 0, 0, "",
3953 3949
3954/* Mark OBJ if we can prove it's a Lisp_Object. */ 3950/* Mark OBJ if we can prove it's a Lisp_Object. */
3955 3951
3956static INLINE void 3952static inline void
3957mark_maybe_object (Lisp_Object obj) 3953mark_maybe_object (Lisp_Object obj)
3958{ 3954{
3959 void *po; 3955 void *po;
@@ -4022,7 +4018,7 @@ mark_maybe_object (Lisp_Object obj)
4022/* If P points to Lisp data, mark that as live if it isn't already 4018/* If P points to Lisp data, mark that as live if it isn't already
4023 marked. */ 4019 marked. */
4024 4020
4025static INLINE void 4021static inline void
4026mark_maybe_pointer (void *p) 4022mark_maybe_pointer (void *p)
4027{ 4023{
4028 struct mem_node *m; 4024 struct mem_node *m;
diff --git a/src/bidi.c b/src/bidi.c
index 88c45e24a14..b05fd21e5b6 100644
--- a/src/bidi.c
+++ b/src/bidi.c
@@ -137,7 +137,7 @@ bidi_initialize (void)
137 137
138/* Return the bidi type of a character CH, subject to the current 138/* Return the bidi type of a character CH, subject to the current
139 directional OVERRIDE. */ 139 directional OVERRIDE. */
140static INLINE bidi_type_t 140static inline bidi_type_t
141bidi_get_type (int ch, bidi_dir_t override) 141bidi_get_type (int ch, bidi_dir_t override)
142{ 142{
143 bidi_type_t default_type; 143 bidi_type_t default_type;
@@ -188,7 +188,7 @@ bidi_check_type (bidi_type_t type)
188} 188}
189 189
190/* Given a bidi TYPE of a character, return its category. */ 190/* Given a bidi TYPE of a character, return its category. */
191static INLINE bidi_category_t 191static inline bidi_category_t
192bidi_get_category (bidi_type_t type) 192bidi_get_category (bidi_type_t type)
193{ 193{
194 switch (type) 194 switch (type)
@@ -252,7 +252,7 @@ bidi_mirror_char (int c)
252 252
253/* Copy the bidi iterator from FROM to TO. To save cycles, this only 253/* Copy the bidi iterator from FROM to TO. To save cycles, this only
254 copies the part of the level stack that is actually in use. */ 254 copies the part of the level stack that is actually in use. */
255static INLINE void 255static inline void
256bidi_copy_it (struct bidi_it *to, struct bidi_it *from) 256bidi_copy_it (struct bidi_it *to, struct bidi_it *from)
257{ 257{
258 int i; 258 int i;
@@ -275,14 +275,14 @@ static size_t elsz = sizeof (struct bidi_it);
275static int bidi_cache_idx; /* next unused cache slot */ 275static int bidi_cache_idx; /* next unused cache slot */
276static int bidi_cache_last_idx; /* slot of last cache hit */ 276static int bidi_cache_last_idx; /* slot of last cache hit */
277 277
278static INLINE void 278static inline void
279bidi_cache_reset (void) 279bidi_cache_reset (void)
280{ 280{
281 bidi_cache_idx = 0; 281 bidi_cache_idx = 0;
282 bidi_cache_last_idx = -1; 282 bidi_cache_last_idx = -1;
283} 283}
284 284
285static INLINE void 285static inline void
286bidi_cache_shrink (void) 286bidi_cache_shrink (void)
287{ 287{
288 if (bidi_cache_size > BIDI_CACHE_CHUNK) 288 if (bidi_cache_size > BIDI_CACHE_CHUNK)
@@ -294,7 +294,7 @@ bidi_cache_shrink (void)
294 bidi_cache_reset (); 294 bidi_cache_reset ();
295} 295}
296 296
297static INLINE void 297static inline void
298bidi_cache_fetch_state (int idx, struct bidi_it *bidi_it) 298bidi_cache_fetch_state (int idx, struct bidi_it *bidi_it)
299{ 299{
300 int current_scan_dir = bidi_it->scan_dir; 300 int current_scan_dir = bidi_it->scan_dir;
@@ -311,7 +311,7 @@ bidi_cache_fetch_state (int idx, struct bidi_it *bidi_it)
311 level less or equal to LEVEL. if LEVEL is -1, disregard the 311 level less or equal to LEVEL. if LEVEL is -1, disregard the
312 resolved levels in cached states. DIR, if non-zero, means search 312 resolved levels in cached states. DIR, if non-zero, means search
313 in that direction from the last cache hit. */ 313 in that direction from the last cache hit. */
314static INLINE int 314static inline int
315bidi_cache_search (EMACS_INT charpos, int level, int dir) 315bidi_cache_search (EMACS_INT charpos, int level, int dir)
316{ 316{
317 int i, i_start; 317 int i, i_start;
@@ -402,7 +402,7 @@ bidi_cache_find_level_change (int level, int dir, int before)
402 return -1; 402 return -1;
403} 403}
404 404
405static INLINE void 405static inline void
406bidi_cache_iterator_state (struct bidi_it *bidi_it, int resolved) 406bidi_cache_iterator_state (struct bidi_it *bidi_it, int resolved)
407{ 407{
408 int idx; 408 int idx;
@@ -460,7 +460,7 @@ bidi_cache_iterator_state (struct bidi_it *bidi_it, int resolved)
460 bidi_cache_idx = idx + 1; 460 bidi_cache_idx = idx + 1;
461} 461}
462 462
463static INLINE bidi_type_t 463static inline bidi_type_t
464bidi_cache_find (EMACS_INT charpos, int level, struct bidi_it *bidi_it) 464bidi_cache_find (EMACS_INT charpos, int level, struct bidi_it *bidi_it)
465{ 465{
466 int i = bidi_cache_search (charpos, level, bidi_it->scan_dir); 466 int i = bidi_cache_search (charpos, level, bidi_it->scan_dir);
@@ -480,7 +480,7 @@ bidi_cache_find (EMACS_INT charpos, int level, struct bidi_it *bidi_it)
480 return UNKNOWN_BT; 480 return UNKNOWN_BT;
481} 481}
482 482
483static INLINE int 483static inline int
484bidi_peek_at_next_level (struct bidi_it *bidi_it) 484bidi_peek_at_next_level (struct bidi_it *bidi_it)
485{ 485{
486 if (bidi_cache_idx == 0 || bidi_cache_last_idx == -1) 486 if (bidi_cache_idx == 0 || bidi_cache_last_idx == -1)
@@ -519,7 +519,7 @@ bidi_at_paragraph_end (EMACS_INT charpos, EMACS_INT bytepos)
519 embedding levels on either side of the run boundary. Also, update 519 embedding levels on either side of the run boundary. Also, update
520 the saved info about previously seen characters, since that info is 520 the saved info about previously seen characters, since that info is
521 generally valid for a single level run. */ 521 generally valid for a single level run. */
522static INLINE void 522static inline void
523bidi_set_sor_type (struct bidi_it *bidi_it, int level_before, int level_after) 523bidi_set_sor_type (struct bidi_it *bidi_it, int level_before, int level_after)
524{ 524{
525 int higher_level = level_before > level_after ? level_before : level_after; 525 int higher_level = level_before > level_after ? level_before : level_after;
@@ -729,7 +729,7 @@ bidi_paragraph_init (bidi_dir_t dir, struct bidi_it *bidi_it, int no_default_p)
729 729
730/* Do whatever UAX#9 clause X8 says should be done at paragraph's 730/* Do whatever UAX#9 clause X8 says should be done at paragraph's
731 end. */ 731 end. */
732static INLINE void 732static inline void
733bidi_set_paragraph_end (struct bidi_it *bidi_it) 733bidi_set_paragraph_end (struct bidi_it *bidi_it)
734{ 734{
735 bidi_it->invalid_levels = 0; 735 bidi_it->invalid_levels = 0;
@@ -772,7 +772,7 @@ bidi_init_it (EMACS_INT charpos, EMACS_INT bytepos, struct bidi_it *bidi_it)
772 772
773/* Push the current embedding level and override status; reset the 773/* Push the current embedding level and override status; reset the
774 current level to LEVEL and the current override status to OVERRIDE. */ 774 current level to LEVEL and the current override status to OVERRIDE. */
775static INLINE void 775static inline void
776bidi_push_embedding_level (struct bidi_it *bidi_it, 776bidi_push_embedding_level (struct bidi_it *bidi_it,
777 int level, bidi_dir_t override) 777 int level, bidi_dir_t override)
778{ 778{
@@ -785,7 +785,7 @@ bidi_push_embedding_level (struct bidi_it *bidi_it,
785 785
786/* Pop the embedding level and directional override status from the 786/* Pop the embedding level and directional override status from the
787 stack, and return the new level. */ 787 stack, and return the new level. */
788static INLINE int 788static inline int
789bidi_pop_embedding_level (struct bidi_it *bidi_it) 789bidi_pop_embedding_level (struct bidi_it *bidi_it)
790{ 790{
791 /* UAX#9 says to ignore invalid PDFs. */ 791 /* UAX#9 says to ignore invalid PDFs. */
@@ -795,7 +795,7 @@ bidi_pop_embedding_level (struct bidi_it *bidi_it)
795} 795}
796 796
797/* Record in SAVED_INFO the information about the current character. */ 797/* Record in SAVED_INFO the information about the current character. */
798static INLINE void 798static inline void
799bidi_remember_char (struct bidi_saved_info *saved_info, 799bidi_remember_char (struct bidi_saved_info *saved_info,
800 struct bidi_it *bidi_it) 800 struct bidi_it *bidi_it)
801{ 801{
@@ -811,7 +811,7 @@ bidi_remember_char (struct bidi_saved_info *saved_info,
811 811
812/* Resolve the type of a neutral character according to the type of 812/* Resolve the type of a neutral character according to the type of
813 surrounding strong text and the current embedding level. */ 813 surrounding strong text and the current embedding level. */
814static INLINE bidi_type_t 814static inline bidi_type_t
815bidi_resolve_neutral_1 (bidi_type_t prev_type, bidi_type_t next_type, int lev) 815bidi_resolve_neutral_1 (bidi_type_t prev_type, bidi_type_t next_type, int lev)
816{ 816{
817 /* N1: European and Arabic numbers are treated as though they were R. */ 817 /* N1: European and Arabic numbers are treated as though they were R. */
@@ -828,7 +828,7 @@ bidi_resolve_neutral_1 (bidi_type_t prev_type, bidi_type_t next_type, int lev)
828 return STRONG_R; 828 return STRONG_R;
829} 829}
830 830
831static INLINE int 831static inline int
832bidi_explicit_dir_char (int c) 832bidi_explicit_dir_char (int c)
833{ 833{
834 /* FIXME: this should be replaced with a lookup table with suitable 834 /* FIXME: this should be replaced with a lookup table with suitable
diff --git a/src/charset.c b/src/charset.c
index 55fd57031ac..b1b4993d277 100644
--- a/src/charset.c
+++ b/src/charset.c
@@ -418,7 +418,7 @@ load_charset_map (struct charset *charset, struct charset_map_entries *entries,
418/* Read a hexadecimal number (preceded by "0x") from the file FP while 418/* Read a hexadecimal number (preceded by "0x") from the file FP while
419 paying attention to comment character '#'. */ 419 paying attention to comment character '#'. */
420 420
421static INLINE unsigned 421static inline unsigned
422read_hex (FILE *fp, int *eof) 422read_hex (FILE *fp, int *eof)
423{ 423{
424 int c; 424 int c;
diff --git a/src/coding.c b/src/coding.c
index 71253df6469..e257790bbef 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -864,21 +864,21 @@ static void decode_eol (struct coding_system *);
864static Lisp_Object get_translation_table (Lisp_Object, int, int *); 864static Lisp_Object get_translation_table (Lisp_Object, int, int *);
865static Lisp_Object get_translation (Lisp_Object, int *, int *); 865static Lisp_Object get_translation (Lisp_Object, int *, int *);
866static int produce_chars (struct coding_system *, Lisp_Object, int); 866static int produce_chars (struct coding_system *, Lisp_Object, int);
867static INLINE void produce_charset (struct coding_system *, int *, 867static inline void produce_charset (struct coding_system *, int *,
868 EMACS_INT); 868 EMACS_INT);
869static void produce_annotation (struct coding_system *, EMACS_INT); 869static void produce_annotation (struct coding_system *, EMACS_INT);
870static int decode_coding (struct coding_system *); 870static int decode_coding (struct coding_system *);
871static INLINE int *handle_composition_annotation (EMACS_INT, EMACS_INT, 871static inline int *handle_composition_annotation (EMACS_INT, EMACS_INT,
872 struct coding_system *, 872 struct coding_system *,
873 int *, EMACS_INT *); 873 int *, EMACS_INT *);
874static INLINE int *handle_charset_annotation (EMACS_INT, EMACS_INT, 874static inline int *handle_charset_annotation (EMACS_INT, EMACS_INT,
875 struct coding_system *, 875 struct coding_system *,
876 int *, EMACS_INT *); 876 int *, EMACS_INT *);
877static void consume_chars (struct coding_system *, Lisp_Object, int); 877static void consume_chars (struct coding_system *, Lisp_Object, int);
878static int encode_coding (struct coding_system *); 878static int encode_coding (struct coding_system *);
879static Lisp_Object make_conversion_work_buffer (int); 879static Lisp_Object make_conversion_work_buffer (int);
880static Lisp_Object code_conversion_restore (Lisp_Object); 880static Lisp_Object code_conversion_restore (Lisp_Object);
881static INLINE int char_encodable_p (int, Lisp_Object); 881static inline int char_encodable_p (int, Lisp_Object);
882static Lisp_Object make_subsidiaries (Lisp_Object); 882static Lisp_Object make_subsidiaries (Lisp_Object);
883 883
884static void 884static void
@@ -6829,7 +6829,7 @@ produce_chars (struct coding_system *coding, Lisp_Object translation_table,
6829 [ -LENGTH ANNOTATION_MASK NCHARS NBYTES METHOD [ COMPONENTS... ] ] 6829 [ -LENGTH ANNOTATION_MASK NCHARS NBYTES METHOD [ COMPONENTS... ] ]
6830 */ 6830 */
6831 6831
6832static INLINE void 6832static inline void
6833produce_composition (struct coding_system *coding, int *charbuf, EMACS_INT pos) 6833produce_composition (struct coding_system *coding, int *charbuf, EMACS_INT pos)
6834{ 6834{
6835 int len; 6835 int len;
@@ -6873,7 +6873,7 @@ produce_composition (struct coding_system *coding, int *charbuf, EMACS_INT pos)
6873 [ -LENGTH ANNOTATION_MASK NCHARS CHARSET-ID ] 6873 [ -LENGTH ANNOTATION_MASK NCHARS CHARSET-ID ]
6874 */ 6874 */
6875 6875
6876static INLINE void 6876static inline void
6877produce_charset (struct coding_system *coding, int *charbuf, EMACS_INT pos) 6877produce_charset (struct coding_system *coding, int *charbuf, EMACS_INT pos)
6878{ 6878{
6879 EMACS_INT from = pos - charbuf[2]; 6879 EMACS_INT from = pos - charbuf[2];
@@ -7101,7 +7101,7 @@ decode_coding (struct coding_system *coding)
7101 position of a composition after POS (if any) or to LIMIT, and 7101 position of a composition after POS (if any) or to LIMIT, and
7102 return BUF. */ 7102 return BUF. */
7103 7103
7104static INLINE int * 7104static inline int *
7105handle_composition_annotation (EMACS_INT pos, EMACS_INT limit, 7105handle_composition_annotation (EMACS_INT pos, EMACS_INT limit,
7106 struct coding_system *coding, int *buf, 7106 struct coding_system *coding, int *buf,
7107 EMACS_INT *stop) 7107 EMACS_INT *stop)
@@ -7184,7 +7184,7 @@ handle_composition_annotation (EMACS_INT pos, EMACS_INT limit,
7184 If the property value is nil, set *STOP to the position where the 7184 If the property value is nil, set *STOP to the position where the
7185 property value is non-nil (limiting by LIMIT), and return BUF. */ 7185 property value is non-nil (limiting by LIMIT), and return BUF. */
7186 7186
7187static INLINE int * 7187static inline int *
7188handle_charset_annotation (EMACS_INT pos, EMACS_INT limit, 7188handle_charset_annotation (EMACS_INT pos, EMACS_INT limit,
7189 struct coding_system *coding, int *buf, 7189 struct coding_system *coding, int *buf,
7190 EMACS_INT *stop) 7190 EMACS_INT *stop)
@@ -8435,7 +8435,7 @@ highest priority. */)
8435} 8435}
8436 8436
8437 8437
8438static INLINE int 8438static inline int
8439char_encodable_p (int c, Lisp_Object attrs) 8439char_encodable_p (int c, Lisp_Object attrs)
8440{ 8440{
8441 Lisp_Object tail; 8441 Lisp_Object tail;
diff --git a/src/dispnew.c b/src/dispnew.c
index 7ae6c61d0c7..cd20bd6e9aa 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -1101,7 +1101,7 @@ swap_glyphs_in_rows (a, b)
1101 1101
1102/* Exchange pointers to glyph memory between glyph rows A and B. */ 1102/* Exchange pointers to glyph memory between glyph rows A and B. */
1103 1103
1104static INLINE void 1104static inline void
1105swap_glyph_pointers (struct glyph_row *a, struct glyph_row *b) 1105swap_glyph_pointers (struct glyph_row *a, struct glyph_row *b)
1106{ 1106{
1107 int i; 1107 int i;
@@ -1117,7 +1117,7 @@ swap_glyph_pointers (struct glyph_row *a, struct glyph_row *b)
1117/* Copy glyph row structure FROM to glyph row structure TO, except 1117/* Copy glyph row structure FROM to glyph row structure TO, except
1118 that glyph pointers in the structures are left unchanged. */ 1118 that glyph pointers in the structures are left unchanged. */
1119 1119
1120static INLINE void 1120static inline void
1121copy_row_except_pointers (struct glyph_row *to, struct glyph_row *from) 1121copy_row_except_pointers (struct glyph_row *to, struct glyph_row *from)
1122{ 1122{
1123 struct glyph *pointers[1 + LAST_AREA]; 1123 struct glyph *pointers[1 + LAST_AREA];
@@ -1138,7 +1138,7 @@ copy_row_except_pointers (struct glyph_row *to, struct glyph_row *from)
1138 exchanged between TO and FROM. Pointers must be exchanged to avoid 1138 exchanged between TO and FROM. Pointers must be exchanged to avoid
1139 a memory leak. */ 1139 a memory leak. */
1140 1140
1141static INLINE void 1141static inline void
1142assign_row (struct glyph_row *to, struct glyph_row *from) 1142assign_row (struct glyph_row *to, struct glyph_row *from)
1143{ 1143{
1144 swap_glyph_pointers (to, from); 1144 swap_glyph_pointers (to, from);
@@ -1304,7 +1304,7 @@ line_draw_cost (struct glyph_matrix *matrix, int vpos)
1304 and B have equal contents. MOUSE_FACE_P non-zero means compare the 1304 and B have equal contents. MOUSE_FACE_P non-zero means compare the
1305 mouse_face_p flags of A and B, too. */ 1305 mouse_face_p flags of A and B, too. */
1306 1306
1307static INLINE int 1307static inline int
1308row_equal_p (struct glyph_row *a, struct glyph_row *b, int mouse_face_p) 1308row_equal_p (struct glyph_row *a, struct glyph_row *b, int mouse_face_p)
1309{ 1309{
1310 if (a == b) 1310 if (a == b)
@@ -2729,7 +2729,7 @@ fill_up_frame_row_with_spaces (struct glyph_row *row, int upto)
2729 function must be called before updates to make explicit that we are 2729 function must be called before updates to make explicit that we are
2730 working on frame matrices or not. */ 2730 working on frame matrices or not. */
2731 2731
2732static INLINE void 2732static inline void
2733set_frame_matrix_frame (struct frame *f) 2733set_frame_matrix_frame (struct frame *f)
2734{ 2734{
2735 frame_matrix_frame = f; 2735 frame_matrix_frame = f;
@@ -2744,7 +2744,7 @@ set_frame_matrix_frame (struct frame *f)
2744 done in frame matrices, and that we have to perform analogous 2744 done in frame matrices, and that we have to perform analogous
2745 operations in window matrices of frame_matrix_frame. */ 2745 operations in window matrices of frame_matrix_frame. */
2746 2746
2747static INLINE void 2747static inline void
2748make_current (struct glyph_matrix *desired_matrix, struct glyph_matrix *current_matrix, int row) 2748make_current (struct glyph_matrix *desired_matrix, struct glyph_matrix *current_matrix, int row)
2749{ 2749{
2750 struct glyph_row *current_row = MATRIX_ROW (current_matrix, row); 2750 struct glyph_row *current_row = MATRIX_ROW (current_matrix, row);
@@ -4246,7 +4246,7 @@ static struct run **runs;
4246 4246
4247/* Add glyph row ROW to the scrolling hash table. */ 4247/* Add glyph row ROW to the scrolling hash table. */
4248 4248
4249static INLINE struct row_entry * 4249static inline struct row_entry *
4250add_row_entry (struct glyph_row *row) 4250add_row_entry (struct glyph_row *row)
4251{ 4251{
4252 struct row_entry *entry; 4252 struct row_entry *entry;
diff --git a/src/fns.c b/src/fns.c
index f5377d05c40..089f088b63d 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -3704,7 +3704,7 @@ copy_hash_table (struct Lisp_Hash_Table *h1)
3704/* Resize hash table H if it's too full. If H cannot be resized 3704/* Resize hash table H if it's too full. If H cannot be resized
3705 because it's already too large, throw an error. */ 3705 because it's already too large, throw an error. */
3706 3706
3707static INLINE void 3707static inline void
3708maybe_resize_hash_table (struct Lisp_Hash_Table *h) 3708maybe_resize_hash_table (struct Lisp_Hash_Table *h)
3709{ 3709{
3710 if (NILP (h->next_free)) 3710 if (NILP (h->next_free))
diff --git a/src/fontset.c b/src/fontset.c
index a40a3dd5f9c..46637b53b3e 100644
--- a/src/fontset.c
+++ b/src/fontset.c
@@ -58,8 +58,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
58#undef xassert 58#undef xassert
59#ifdef FONTSET_DEBUG 59#ifdef FONTSET_DEBUG
60#define xassert(X) do {if (!(X)) abort ();} while (0) 60#define xassert(X) do {if (!(X)) abort ();} while (0)
61#undef INLINE
62#define INLINE
63#else /* not FONTSET_DEBUG */ 61#else /* not FONTSET_DEBUG */
64#define xassert(X) (void) 0 62#define xassert(X) (void) 0
65#endif /* not FONTSET_DEBUG */ 63#endif /* not FONTSET_DEBUG */
diff --git a/src/gmalloc.c b/src/gmalloc.c
index 5237432872d..a023d2d78e5 100644
--- a/src/gmalloc.c
+++ b/src/gmalloc.c
@@ -552,12 +552,8 @@ get_contiguous_space (size, position)
552/* This is called when `_heapinfo' and `heapsize' have just 552/* This is called when `_heapinfo' and `heapsize' have just
553 been set to describe a new info table. Set up the table 553 been set to describe a new info table. Set up the table
554 to describe itself and account for it in the statistics. */ 554 to describe itself and account for it in the statistics. */
555static void register_heapinfo PP ((void)); 555static inline void
556#ifdef __GNUC__ 556register_heapinfo (void)
557__inline__
558#endif
559static void
560register_heapinfo ()
561{ 557{
562 __malloc_size_t block, blocks; 558 __malloc_size_t block, blocks;
563 559
@@ -2170,4 +2166,3 @@ mprobe (__ptr_t ptr)
2170} 2166}
2171 2167
2172#endif /* GC_MCHECK */ 2168#endif /* GC_MCHECK */
2173
diff --git a/src/image.c b/src/image.c
index 2562d79a782..d3702a180c6 100644
--- a/src/image.c
+++ b/src/image.c
@@ -623,7 +623,7 @@ define_image_type (struct image_type *type, int loaded)
623/* Look up image type SYMBOL, and return a pointer to its image_type 623/* Look up image type SYMBOL, and return a pointer to its image_type
624 structure. Value is null if SYMBOL is not a known image type. */ 624 structure. Value is null if SYMBOL is not a known image type. */
625 625
626static INLINE struct image_type * 626static inline struct image_type *
627lookup_image_type (Lisp_Object symbol) 627lookup_image_type (Lisp_Object symbol)
628{ 628{
629 struct image_type *type; 629 struct image_type *type;
diff --git a/src/intervals.c b/src/intervals.c
index e72bc146d16..f9e9c864e13 100644
--- a/src/intervals.c
+++ b/src/intervals.c
@@ -313,7 +313,7 @@ root_interval (interval)
313 c c 313 c c
314*/ 314*/
315 315
316static INLINE INTERVAL 316static inline INTERVAL
317rotate_right (INTERVAL interval) 317rotate_right (INTERVAL interval)
318{ 318{
319 INTERVAL i; 319 INTERVAL i;
@@ -360,7 +360,7 @@ rotate_right (INTERVAL interval)
360 c c 360 c c
361*/ 361*/
362 362
363static INLINE INTERVAL 363static inline INTERVAL
364rotate_left (INTERVAL interval) 364rotate_left (INTERVAL interval)
365{ 365{
366 INTERVAL i; 366 INTERVAL i;
@@ -438,7 +438,7 @@ balance_an_interval (INTERVAL i)
438/* Balance INTERVAL, potentially stuffing it back into its parent 438/* Balance INTERVAL, potentially stuffing it back into its parent
439 Lisp Object. */ 439 Lisp Object. */
440 440
441static INLINE INTERVAL 441static inline INTERVAL
442balance_possible_root_interval (register INTERVAL interval) 442balance_possible_root_interval (register INTERVAL interval)
443{ 443{
444 Lisp_Object parent; 444 Lisp_Object parent;
@@ -1427,7 +1427,7 @@ adjust_intervals_for_deletion (struct buffer *buffer,
1427 at position START. Addition or deletion is indicated by the sign 1427 at position START. Addition or deletion is indicated by the sign
1428 of LENGTH. */ 1428 of LENGTH. */
1429 1429
1430INLINE void 1430inline void
1431offset_intervals (struct buffer *buffer, EMACS_INT start, EMACS_INT length) 1431offset_intervals (struct buffer *buffer, EMACS_INT start, EMACS_INT length)
1432{ 1432{
1433 if (NULL_INTERVAL_P (BUF_INTERVALS (buffer)) || length == 0) 1433 if (NULL_INTERVAL_P (BUF_INTERVALS (buffer)) || length == 0)
@@ -1883,7 +1883,7 @@ lookup_char_property (Lisp_Object plist, register Lisp_Object prop, int textprop
1883/* Set point in BUFFER "temporarily" to CHARPOS, which corresponds to 1883/* Set point in BUFFER "temporarily" to CHARPOS, which corresponds to
1884 byte position BYTEPOS. */ 1884 byte position BYTEPOS. */
1885 1885
1886INLINE void 1886inline void
1887temp_set_point_both (struct buffer *buffer, 1887temp_set_point_both (struct buffer *buffer,
1888 EMACS_INT charpos, EMACS_INT bytepos) 1888 EMACS_INT charpos, EMACS_INT bytepos)
1889{ 1889{
@@ -1903,7 +1903,7 @@ temp_set_point_both (struct buffer *buffer,
1903 1903
1904/* Set point "temporarily", without checking any text properties. */ 1904/* Set point "temporarily", without checking any text properties. */
1905 1905
1906INLINE void 1906inline void
1907temp_set_point (struct buffer *buffer, EMACS_INT charpos) 1907temp_set_point (struct buffer *buffer, EMACS_INT charpos)
1908{ 1908{
1909 temp_set_point_both (buffer, charpos, 1909 temp_set_point_both (buffer, charpos,
@@ -2392,7 +2392,7 @@ copy_intervals (INTERVAL tree, EMACS_INT start, EMACS_INT length)
2392 2392
2393/* Give STRING the properties of BUFFER from POSITION to LENGTH. */ 2393/* Give STRING the properties of BUFFER from POSITION to LENGTH. */
2394 2394
2395INLINE void 2395inline void
2396copy_intervals_to_string (Lisp_Object string, struct buffer *buffer, 2396copy_intervals_to_string (Lisp_Object string, struct buffer *buffer,
2397 EMACS_INT position, EMACS_INT length) 2397 EMACS_INT position, EMACS_INT length)
2398{ 2398{
diff --git a/src/keyboard.c b/src/keyboard.c
index c471a91ebfb..7bc406aab31 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -3742,7 +3742,7 @@ kbd_buffer_events_waiting (int discard)
3742 3742
3743/* Clear input event EVENT. */ 3743/* Clear input event EVENT. */
3744 3744
3745static INLINE void 3745static inline void
3746clear_event (struct input_event *event) 3746clear_event (struct input_event *event)
3747{ 3747{
3748 event->kind = NO_EVENT; 3748 event->kind = NO_EVENT;
diff --git a/src/lisp.h b/src/lisp.h
index 6618a754145..32d6b44d76a 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -317,7 +317,7 @@ Lisp_Object;
317#endif /* WORDS_BIGENDIAN */ 317#endif /* WORDS_BIGENDIAN */
318 318
319#ifdef __GNUC__ 319#ifdef __GNUC__
320static __inline__ Lisp_Object 320static inline Lisp_Object
321LISP_MAKE_RVALUE (Lisp_Object o) 321LISP_MAKE_RVALUE (Lisp_Object o)
322{ 322{
323 return o; 323 return o;
diff --git a/src/process.c b/src/process.c
index 8a94b3e6047..51deb1c933f 100644
--- a/src/process.c
+++ b/src/process.c
@@ -4162,7 +4162,7 @@ wait_reading_process_output_1 (void)
4162 impossible to step through wait_reading_process_output. */ 4162 impossible to step through wait_reading_process_output. */
4163 4163
4164#ifndef select 4164#ifndef select
4165static INLINE int 4165static inline int
4166select_wrapper (int n, fd_set *rfd, fd_set *wfd, fd_set *xfd, struct timeval *tmo) 4166select_wrapper (int n, fd_set *rfd, fd_set *wfd, fd_set *xfd, struct timeval *tmo)
4167{ 4167{
4168 return select (n, rfd, wfd, xfd, tmo); 4168 return select (n, rfd, wfd, xfd, tmo);
diff --git a/src/syntax.c b/src/syntax.c
index cff6d50f510..82103cfa3d4 100644
--- a/src/syntax.c
+++ b/src/syntax.c
@@ -367,7 +367,7 @@ char_quoted (EMACS_INT charpos, EMACS_INT bytepos)
367/* Return the bytepos one character before BYTEPOS. 367/* Return the bytepos one character before BYTEPOS.
368 We assume that BYTEPOS is not at the start of the buffer. */ 368 We assume that BYTEPOS is not at the start of the buffer. */
369 369
370static INLINE EMACS_INT 370static inline EMACS_INT
371dec_bytepos (EMACS_INT bytepos) 371dec_bytepos (EMACS_INT bytepos)
372{ 372{
373 if (NILP (BVAR (current_buffer, enable_multibyte_characters))) 373 if (NILP (BVAR (current_buffer, enable_multibyte_characters)))
diff --git a/src/textprop.c b/src/textprop.c
index 566b2962a63..350892cdad6 100644
--- a/src/textprop.c
+++ b/src/textprop.c
@@ -248,7 +248,7 @@ interval_has_all_properties (Lisp_Object plist, INTERVAL i)
248/* Return nonzero if the plist of interval I has any of the 248/* Return nonzero if the plist of interval I has any of the
249 properties of PLIST, regardless of their values. */ 249 properties of PLIST, regardless of their values. */
250 250
251static INLINE int 251static inline int
252interval_has_some_properties (Lisp_Object plist, INTERVAL i) 252interval_has_some_properties (Lisp_Object plist, INTERVAL i)
253{ 253{
254 register Lisp_Object tail1, tail2, sym; 254 register Lisp_Object tail1, tail2, sym;
@@ -270,7 +270,7 @@ interval_has_some_properties (Lisp_Object plist, INTERVAL i)
270/* Return nonzero if the plist of interval I has any of the 270/* Return nonzero if the plist of interval I has any of the
271 property names in LIST, regardless of their values. */ 271 property names in LIST, regardless of their values. */
272 272
273static INLINE int 273static inline int
274interval_has_some_properties_list (Lisp_Object list, INTERVAL i) 274interval_has_some_properties_list (Lisp_Object list, INTERVAL i)
275{ 275{
276 register Lisp_Object tail1, tail2, sym; 276 register Lisp_Object tail1, tail2, sym;
@@ -499,7 +499,7 @@ remove_properties (Lisp_Object plist, Lisp_Object list, INTERVAL i, Lisp_Object
499/* Remove all properties from interval I. Return non-zero 499/* Remove all properties from interval I. Return non-zero
500 if this changes the interval. */ 500 if this changes the interval. */
501 501
502static INLINE int 502static inline int
503erase_properties (INTERVAL i) 503erase_properties (INTERVAL i)
504{ 504{
505 if (NILP (i->plist)) 505 if (NILP (i->plist))
diff --git a/src/w32term.c b/src/w32term.c
index d22aee6dc76..b7c0d61b633 100644
--- a/src/w32term.c
+++ b/src/w32term.c
@@ -1002,7 +1002,7 @@ x_set_mouse_face_gc (struct glyph_string *s)
1002 Faces to use in the mode line have already been computed when the 1002 Faces to use in the mode line have already been computed when the
1003 matrix was built, so there isn't much to do, here. */ 1003 matrix was built, so there isn't much to do, here. */
1004 1004
1005static INLINE void 1005static inline void
1006x_set_mode_line_face_gc (struct glyph_string *s) 1006x_set_mode_line_face_gc (struct glyph_string *s)
1007{ 1007{
1008 s->gc = s->face->gc; 1008 s->gc = s->face->gc;
@@ -1013,7 +1013,7 @@ x_set_mode_line_face_gc (struct glyph_string *s)
1013 S->stippled_p to a non-zero value if the face of S has a stipple 1013 S->stippled_p to a non-zero value if the face of S has a stipple
1014 pattern. */ 1014 pattern. */
1015 1015
1016static INLINE void 1016static inline void
1017x_set_glyph_string_gc (struct glyph_string *s) 1017x_set_glyph_string_gc (struct glyph_string *s)
1018{ 1018{
1019 PREPARE_FACE_FOR_DISPLAY (s->f, s->face); 1019 PREPARE_FACE_FOR_DISPLAY (s->f, s->face);
@@ -1058,7 +1058,7 @@ x_set_glyph_string_gc (struct glyph_string *s)
1058/* Set clipping for output of glyph string S. S may be part of a mode 1058/* Set clipping for output of glyph string S. S may be part of a mode
1059 line or menu if we don't have X toolkit support. */ 1059 line or menu if we don't have X toolkit support. */
1060 1060
1061static INLINE void 1061static inline void
1062x_set_glyph_string_clipping (struct glyph_string *s) 1062x_set_glyph_string_clipping (struct glyph_string *s)
1063{ 1063{
1064 RECT *r = s->clip; 1064 RECT *r = s->clip;
@@ -1128,7 +1128,7 @@ w32_compute_glyph_string_overhangs (struct glyph_string *s)
1128 1128
1129/* Fill rectangle X, Y, W, H with background color of glyph string S. */ 1129/* Fill rectangle X, Y, W, H with background color of glyph string S. */
1130 1130
1131static INLINE void 1131static inline void
1132x_clear_glyph_string_rect (struct glyph_string *s, 1132x_clear_glyph_string_rect (struct glyph_string *s,
1133 int x, int y, int w, int h) 1133 int x, int y, int w, int h)
1134{ 1134{
diff --git a/src/xdisp.c b/src/xdisp.c
index c1ed3d9cdae..d67cc63be79 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -926,7 +926,7 @@ static int coords_in_mouse_face_p (struct window *, int, int);
926 926
927 This is the height of W minus the height of a mode line, if any. */ 927 This is the height of W minus the height of a mode line, if any. */
928 928
929INLINE int 929inline int
930window_text_bottom_y (struct window *w) 930window_text_bottom_y (struct window *w)
931{ 931{
932 int height = WINDOW_TOTAL_HEIGHT (w); 932 int height = WINDOW_TOTAL_HEIGHT (w);
@@ -940,7 +940,7 @@ window_text_bottom_y (struct window *w)
940 means return the total width of W, not including fringes to 940 means return the total width of W, not including fringes to
941 the left and right of the window. */ 941 the left and right of the window. */
942 942
943INLINE int 943inline int
944window_box_width (struct window *w, int area) 944window_box_width (struct window *w, int area)
945{ 945{
946 int cols = XFASTINT (w->total_cols); 946 int cols = XFASTINT (w->total_cols);
@@ -979,7 +979,7 @@ window_box_width (struct window *w, int area)
979/* Return the pixel height of the display area of window W, not 979/* Return the pixel height of the display area of window W, not
980 including mode lines of W, if any. */ 980 including mode lines of W, if any. */
981 981
982INLINE int 982inline int
983window_box_height (struct window *w) 983window_box_height (struct window *w)
984{ 984{
985 struct frame *f = XFRAME (w->frame); 985 struct frame *f = XFRAME (w->frame);
@@ -1026,7 +1026,7 @@ window_box_height (struct window *w)
1026 area AREA of window W. AREA < 0 means return the left edge of the 1026 area AREA of window W. AREA < 0 means return the left edge of the
1027 whole window, to the right of the left fringe of W. */ 1027 whole window, to the right of the left fringe of W. */
1028 1028
1029INLINE int 1029inline int
1030window_box_left_offset (struct window *w, int area) 1030window_box_left_offset (struct window *w, int area)
1031{ 1031{
1032 int x; 1032 int x;
@@ -1058,7 +1058,7 @@ window_box_left_offset (struct window *w, int area)
1058 area AREA of window W. AREA < 0 means return the right edge of the 1058 area AREA of window W. AREA < 0 means return the right edge of the
1059 whole window, to the left of the right fringe of W. */ 1059 whole window, to the left of the right fringe of W. */
1060 1060
1061INLINE int 1061inline int
1062window_box_right_offset (struct window *w, int area) 1062window_box_right_offset (struct window *w, int area)
1063{ 1063{
1064 return window_box_left_offset (w, area) + window_box_width (w, area); 1064 return window_box_left_offset (w, area) + window_box_width (w, area);
@@ -1068,7 +1068,7 @@ window_box_right_offset (struct window *w, int area)
1068 area AREA of window W. AREA < 0 means return the left edge of the 1068 area AREA of window W. AREA < 0 means return the left edge of the
1069 whole window, to the right of the left fringe of W. */ 1069 whole window, to the right of the left fringe of W. */
1070 1070
1071INLINE int 1071inline int
1072window_box_left (struct window *w, int area) 1072window_box_left (struct window *w, int area)
1073{ 1073{
1074 struct frame *f = XFRAME (w->frame); 1074 struct frame *f = XFRAME (w->frame);
@@ -1088,7 +1088,7 @@ window_box_left (struct window *w, int area)
1088 area AREA of window W. AREA < 0 means return the right edge of the 1088 area AREA of window W. AREA < 0 means return the right edge of the
1089 whole window, to the left of the right fringe of W. */ 1089 whole window, to the left of the right fringe of W. */
1090 1090
1091INLINE int 1091inline int
1092window_box_right (struct window *w, int area) 1092window_box_right (struct window *w, int area)
1093{ 1093{
1094 return window_box_left (w, area) + window_box_width (w, area); 1094 return window_box_left (w, area) + window_box_width (w, area);
@@ -1101,7 +1101,7 @@ window_box_right (struct window *w, int area)
1101 coordinates of the upper-left corner of the box. Return in 1101 coordinates of the upper-left corner of the box. Return in
1102 *BOX_WIDTH, and *BOX_HEIGHT the pixel width and height of the box. */ 1102 *BOX_WIDTH, and *BOX_HEIGHT the pixel width and height of the box. */
1103 1103
1104INLINE void 1104inline void
1105window_box (struct window *w, int area, int *box_x, int *box_y, 1105window_box (struct window *w, int area, int *box_x, int *box_y,
1106 int *box_width, int *box_height) 1106 int *box_width, int *box_height)
1107{ 1107{
@@ -1128,7 +1128,7 @@ window_box (struct window *w, int area, int *box_x, int *box_y,
1128 *BOTTOM_RIGHT_Y the coordinates of the bottom-right corner of the 1128 *BOTTOM_RIGHT_Y the coordinates of the bottom-right corner of the
1129 box. */ 1129 box. */
1130 1130
1131static INLINE void 1131static inline void
1132window_box_edges (struct window *w, int area, int *top_left_x, int *top_left_y, 1132window_box_edges (struct window *w, int area, int *top_left_x, int *top_left_y,
1133 int *bottom_right_x, int *bottom_right_y) 1133 int *bottom_right_x, int *bottom_right_y)
1134{ 1134{
@@ -1328,7 +1328,7 @@ pos_visible_p (struct window *w, EMACS_INT charpos, int *x, int *y,
1328 returns an invalid character. If we find one, we return a `?', but 1328 returns an invalid character. If we find one, we return a `?', but
1329 with the length of the invalid character. */ 1329 with the length of the invalid character. */
1330 1330
1331static INLINE int 1331static inline int
1332string_char_and_length (const unsigned char *str, int *len) 1332string_char_and_length (const unsigned char *str, int *len)
1333{ 1333{
1334 int c; 1334 int c;
@@ -1376,7 +1376,7 @@ string_pos_nchars_ahead (struct text_pos pos, Lisp_Object string, EMACS_INT ncha
1376/* Value is the text position, i.e. character and byte position, 1376/* Value is the text position, i.e. character and byte position,
1377 for character position CHARPOS in STRING. */ 1377 for character position CHARPOS in STRING. */
1378 1378
1379static INLINE struct text_pos 1379static inline struct text_pos
1380string_pos (EMACS_INT charpos, Lisp_Object string) 1380string_pos (EMACS_INT charpos, Lisp_Object string)
1381{ 1381{
1382 struct text_pos pos; 1382 struct text_pos pos;
@@ -11061,7 +11061,7 @@ debug_method_add (w, fmt, a1, a2, a3, a4, a5, a6, a7, a8, a9)
11061 buffer position, END is given as a distance from Z. Used in 11061 buffer position, END is given as a distance from Z. Used in
11062 redisplay_internal for display optimization. */ 11062 redisplay_internal for display optimization. */
11063 11063
11064static INLINE int 11064static inline int
11065text_outside_line_unchanged_p (struct window *w, 11065text_outside_line_unchanged_p (struct window *w,
11066 EMACS_INT start, EMACS_INT end) 11066 EMACS_INT start, EMACS_INT end)
11067{ 11067{
@@ -11322,7 +11322,7 @@ check_point_in_composition (struct buffer *prev_buf, EMACS_INT prev_pt,
11322/* Reconsider the setting of B->clip_changed which is displayed 11322/* Reconsider the setting of B->clip_changed which is displayed
11323 in window W. */ 11323 in window W. */
11324 11324
11325static INLINE void 11325static inline void
11326reconsider_clip_changes (struct window *w, struct buffer *b) 11326reconsider_clip_changes (struct window *w, struct buffer *b)
11327{ 11327{
11328 if (b->clip_changed 11328 if (b->clip_changed
@@ -12883,7 +12883,7 @@ set_cursor_from_row (struct window *w, struct glyph_row *row,
12883 12883
12884 We assume that the window's buffer is really current. */ 12884 We assume that the window's buffer is really current. */
12885 12885
12886static INLINE struct text_pos 12886static inline struct text_pos
12887run_window_scroll_functions (Lisp_Object window, struct text_pos startp) 12887run_window_scroll_functions (Lisp_Object window, struct text_pos startp)
12888{ 12888{
12889 struct window *w = XWINDOW (window); 12889 struct window *w = XWINDOW (window);
@@ -20417,7 +20417,7 @@ init_glyph_string (struct glyph_string *s,
20417/* Append the list of glyph strings with head H and tail T to the list 20417/* Append the list of glyph strings with head H and tail T to the list
20418 with head *HEAD and tail *TAIL. Set *HEAD and *TAIL to the result. */ 20418 with head *HEAD and tail *TAIL. Set *HEAD and *TAIL to the result. */
20419 20419
20420static INLINE void 20420static inline void
20421append_glyph_string_lists (struct glyph_string **head, struct glyph_string **tail, 20421append_glyph_string_lists (struct glyph_string **head, struct glyph_string **tail,
20422 struct glyph_string *h, struct glyph_string *t) 20422 struct glyph_string *h, struct glyph_string *t)
20423{ 20423{
@@ -20437,7 +20437,7 @@ append_glyph_string_lists (struct glyph_string **head, struct glyph_string **tai
20437 list with head *HEAD and tail *TAIL. Set *HEAD and *TAIL to the 20437 list with head *HEAD and tail *TAIL. Set *HEAD and *TAIL to the
20438 result. */ 20438 result. */
20439 20439
20440static INLINE void 20440static inline void
20441prepend_glyph_string_lists (struct glyph_string **head, struct glyph_string **tail, 20441prepend_glyph_string_lists (struct glyph_string **head, struct glyph_string **tail,
20442 struct glyph_string *h, struct glyph_string *t) 20442 struct glyph_string *h, struct glyph_string *t)
20443{ 20443{
@@ -20456,7 +20456,7 @@ prepend_glyph_string_lists (struct glyph_string **head, struct glyph_string **ta
20456/* Append glyph string S to the list with head *HEAD and tail *TAIL. 20456/* Append glyph string S to the list with head *HEAD and tail *TAIL.
20457 Set *HEAD and *TAIL to the resulting list. */ 20457 Set *HEAD and *TAIL to the resulting list. */
20458 20458
20459static INLINE void 20459static inline void
20460append_glyph_string (struct glyph_string **head, struct glyph_string **tail, 20460append_glyph_string (struct glyph_string **head, struct glyph_string **tail,
20461 struct glyph_string *s) 20461 struct glyph_string *s)
20462{ 20462{
@@ -20471,7 +20471,7 @@ append_glyph_string (struct glyph_string **head, struct glyph_string **tail,
20471 Value is a pointer to a realized face that is ready for display if 20471 Value is a pointer to a realized face that is ready for display if
20472 DISPLAY_P is non-zero. */ 20472 DISPLAY_P is non-zero. */
20473 20473
20474static INLINE struct face * 20474static inline struct face *
20475get_char_face_and_encoding (struct frame *f, int c, int face_id, 20475get_char_face_and_encoding (struct frame *f, int c, int face_id,
20476 XChar2b *char2b, int display_p) 20476 XChar2b *char2b, int display_p)
20477{ 20477{
@@ -20504,7 +20504,7 @@ get_char_face_and_encoding (struct frame *f, int c, int face_id,
20504 The encoding of GLYPH->u.ch is returned in *CHAR2B. Value is 20504 The encoding of GLYPH->u.ch is returned in *CHAR2B. Value is
20505 a pointer to a realized face that is ready for display. */ 20505 a pointer to a realized face that is ready for display. */
20506 20506
20507static INLINE struct face * 20507static inline struct face *
20508get_glyph_face_and_encoding (struct frame *f, struct glyph *glyph, 20508get_glyph_face_and_encoding (struct frame *f, struct glyph *glyph,
20509 XChar2b *char2b, int *two_byte_p) 20509 XChar2b *char2b, int *two_byte_p)
20510{ 20510{
@@ -20541,7 +20541,7 @@ get_glyph_face_and_encoding (struct frame *f, struct glyph *glyph,
20541/* Get glyph code of character C in FONT in the two-byte form CHAR2B. 20541/* Get glyph code of character C in FONT in the two-byte form CHAR2B.
20542 Retunr 1 if FONT has a glyph for C, otherwise return 0. */ 20542 Retunr 1 if FONT has a glyph for C, otherwise return 0. */
20543 20543
20544static INLINE int 20544static inline int
20545get_char_glyph_code (int c, struct font *font, XChar2b *char2b) 20545get_char_glyph_code (int c, struct font *font, XChar2b *char2b)
20546{ 20546{
20547 unsigned code; 20547 unsigned code;
@@ -21005,7 +21005,7 @@ right_overwriting (struct glyph_string *s)
21005 first glyph following S. LAST_X is the right-most x-position + 1 21005 first glyph following S. LAST_X is the right-most x-position + 1
21006 in the drawing area. */ 21006 in the drawing area. */
21007 21007
21008static INLINE void 21008static inline void
21009set_glyph_string_background_width (struct glyph_string *s, int start, int last_x) 21009set_glyph_string_background_width (struct glyph_string *s, int start, int last_x)
21010{ 21010{
21011 /* If the face of this glyph string has to be drawn to the end of 21011 /* If the face of this glyph string has to be drawn to the end of
@@ -21567,7 +21567,7 @@ draw_glyphs (struct window *w, int x, struct glyph_row *row,
21567/* Store one glyph for IT->char_to_display in IT->glyph_row. 21567/* Store one glyph for IT->char_to_display in IT->glyph_row.
21568 Called from x_produce_glyphs when IT->glyph_row is non-null. */ 21568 Called from x_produce_glyphs when IT->glyph_row is non-null. */
21569 21569
21570static INLINE void 21570static inline void
21571append_glyph (struct it *it) 21571append_glyph (struct it *it)
21572{ 21572{
21573 struct glyph *glyph; 21573 struct glyph *glyph;
@@ -21641,7 +21641,7 @@ append_glyph (struct it *it)
21641 IT->glyph_row. Called from x_produce_glyphs when IT->glyph_row is 21641 IT->glyph_row. Called from x_produce_glyphs when IT->glyph_row is
21642 non-null. */ 21642 non-null. */
21643 21643
21644static INLINE void 21644static inline void
21645append_composite_glyph (struct it *it) 21645append_composite_glyph (struct it *it)
21646{ 21646{
21647 struct glyph *glyph; 21647 struct glyph *glyph;
@@ -21710,7 +21710,7 @@ append_composite_glyph (struct it *it)
21710/* Change IT->ascent and IT->height according to the setting of 21710/* Change IT->ascent and IT->height according to the setting of
21711 IT->voffset. */ 21711 IT->voffset. */
21712 21712
21713static INLINE void 21713static inline void
21714take_vertical_position_into_account (struct it *it) 21714take_vertical_position_into_account (struct it *it)
21715{ 21715{
21716 if (it->voffset) 21716 if (it->voffset)
diff --git a/src/xfaces.c b/src/xfaces.c
index a26289e8a88..b14710245b1 100644
--- a/src/xfaces.c
+++ b/src/xfaces.c
@@ -646,7 +646,7 @@ x_free_dpy_colors (Display *dpy, Screen *screen, Colormap cmap, long unsigned in
646/* Create and return a GC for use on frame F. GC values and mask 646/* Create and return a GC for use on frame F. GC values and mask
647 are given by XGCV and MASK. */ 647 are given by XGCV and MASK. */
648 648
649static INLINE GC 649static inline GC
650x_create_gc (struct frame *f, long unsigned int mask, XGCValues *xgcv) 650x_create_gc (struct frame *f, long unsigned int mask, XGCValues *xgcv)
651{ 651{
652 GC gc; 652 GC gc;
@@ -660,7 +660,7 @@ x_create_gc (struct frame *f, long unsigned int mask, XGCValues *xgcv)
660 660
661/* Free GC which was used on frame F. */ 661/* Free GC which was used on frame F. */
662 662
663static INLINE void 663static inline void
664x_free_gc (struct frame *f, GC gc) 664x_free_gc (struct frame *f, GC gc)
665{ 665{
666 eassert (interrupt_input_blocked); 666 eassert (interrupt_input_blocked);
@@ -673,7 +673,7 @@ x_free_gc (struct frame *f, GC gc)
673#ifdef WINDOWSNT 673#ifdef WINDOWSNT
674/* W32 emulation of GCs */ 674/* W32 emulation of GCs */
675 675
676static INLINE GC 676static inline GC
677x_create_gc (struct frame *f, unsigned long mask, XGCValues *xgcv) 677x_create_gc (struct frame *f, unsigned long mask, XGCValues *xgcv)
678{ 678{
679 GC gc; 679 GC gc;
@@ -687,7 +687,7 @@ x_create_gc (struct frame *f, unsigned long mask, XGCValues *xgcv)
687 687
688/* Free GC which was used on frame F. */ 688/* Free GC which was used on frame F. */
689 689
690static INLINE void 690static inline void
691x_free_gc (struct frame *f, GC gc) 691x_free_gc (struct frame *f, GC gc)
692{ 692{
693 IF_DEBUG (xassert (--ngcs >= 0)); 693 IF_DEBUG (xassert (--ngcs >= 0));
@@ -699,7 +699,7 @@ x_free_gc (struct frame *f, GC gc)
699#ifdef HAVE_NS 699#ifdef HAVE_NS
700/* NS emulation of GCs */ 700/* NS emulation of GCs */
701 701
702static INLINE GC 702static inline GC
703x_create_gc (struct frame *f, 703x_create_gc (struct frame *f,
704 unsigned long mask, 704 unsigned long mask,
705 XGCValues *xgcv) 705 XGCValues *xgcv)
@@ -710,7 +710,7 @@ x_create_gc (struct frame *f,
710 return gc; 710 return gc;
711} 711}
712 712
713static INLINE void 713static inline void
714x_free_gc (struct frame *f, GC gc) 714x_free_gc (struct frame *f, GC gc)
715{ 715{
716 xfree (gc); 716 xfree (gc);
@@ -746,7 +746,7 @@ xstrcasecmp (const char *s1, const char *s2)
746 CHECK_LIVE_FRAME. This is here because it's a frequent pattern in 746 CHECK_LIVE_FRAME. This is here because it's a frequent pattern in
747 Lisp function definitions. */ 747 Lisp function definitions. */
748 748
749static INLINE struct frame * 749static inline struct frame *
750frame_or_selected_frame (Lisp_Object frame, int nparam) 750frame_or_selected_frame (Lisp_Object frame, int nparam)
751{ 751{
752 if (NILP (frame)) 752 if (NILP (frame))
@@ -1976,7 +1976,7 @@ struct named_merge_point
1976 FACE_NAME and NAMED_MERGE_POINT_KIND, as the head of the linked list 1976 FACE_NAME and NAMED_MERGE_POINT_KIND, as the head of the linked list
1977 pointed to by NAMED_MERGE_POINTS, and return 1. */ 1977 pointed to by NAMED_MERGE_POINTS, and return 1. */
1978 1978
1979static INLINE int 1979static inline int
1980push_named_merge_point (struct named_merge_point *new_named_merge_point, 1980push_named_merge_point (struct named_merge_point *new_named_merge_point,
1981 Lisp_Object face_name, 1981 Lisp_Object face_name,
1982 enum named_merge_point_kind named_merge_point_kind, 1982 enum named_merge_point_kind named_merge_point_kind,
@@ -2078,7 +2078,7 @@ resolve_face_name (Lisp_Object face_name, int signal_p)
2078 face text properties; Ediff uses that). If SIGNAL_P is non-zero, 2078 face text properties; Ediff uses that). If SIGNAL_P is non-zero,
2079 signal an error if FACE_NAME is not a valid face name. If SIGNAL_P 2079 signal an error if FACE_NAME is not a valid face name. If SIGNAL_P
2080 is zero, value is nil if FACE_NAME is not a valid face name. */ 2080 is zero, value is nil if FACE_NAME is not a valid face name. */
2081static INLINE Lisp_Object 2081static inline Lisp_Object
2082lface_from_face_name_no_resolve (struct frame *f, Lisp_Object face_name, int signal_p) 2082lface_from_face_name_no_resolve (struct frame *f, Lisp_Object face_name, int signal_p)
2083{ 2083{
2084 Lisp_Object lface; 2084 Lisp_Object lface;
@@ -2106,7 +2106,7 @@ lface_from_face_name_no_resolve (struct frame *f, Lisp_Object face_name, int sig
2106 non-zero, signal an error if FACE_NAME is not a valid face name. 2106 non-zero, signal an error if FACE_NAME is not a valid face name.
2107 If SIGNAL_P is zero, value is nil if FACE_NAME is not a valid face 2107 If SIGNAL_P is zero, value is nil if FACE_NAME is not a valid face
2108 name. */ 2108 name. */
2109static INLINE Lisp_Object 2109static inline Lisp_Object
2110lface_from_face_name (struct frame *f, Lisp_Object face_name, int signal_p) 2110lface_from_face_name (struct frame *f, Lisp_Object face_name, int signal_p)
2111{ 2111{
2112 face_name = resolve_face_name (face_name, signal_p); 2112 face_name = resolve_face_name (face_name, signal_p);
@@ -2120,7 +2120,7 @@ lface_from_face_name (struct frame *f, Lisp_Object face_name, int signal_p)
2120 is non-zero, signal an error if FACE_NAME does not name a face. 2120 is non-zero, signal an error if FACE_NAME does not name a face.
2121 Otherwise, value is zero if FACE_NAME is not a face. */ 2121 Otherwise, value is zero if FACE_NAME is not a face. */
2122 2122
2123static INLINE int 2123static inline int
2124get_lface_attributes_no_remap (struct frame *f, Lisp_Object face_name, Lisp_Object *attrs, int signal_p) 2124get_lface_attributes_no_remap (struct frame *f, Lisp_Object face_name, Lisp_Object *attrs, int signal_p)
2125{ 2125{
2126 Lisp_Object lface; 2126 Lisp_Object lface;
@@ -2141,7 +2141,7 @@ get_lface_attributes_no_remap (struct frame *f, Lisp_Object face_name, Lisp_Obje
2141 non-zero, signal an error if FACE_NAME does not name a face. 2141 non-zero, signal an error if FACE_NAME does not name a face.
2142 Otherwise, value is zero if FACE_NAME is not a face. */ 2142 Otherwise, value is zero if FACE_NAME is not a face. */
2143 2143
2144static INLINE int 2144static inline int
2145get_lface_attributes (struct frame *f, Lisp_Object face_name, Lisp_Object *attrs, int signal_p, struct named_merge_point *named_merge_points) 2145get_lface_attributes (struct frame *f, Lisp_Object face_name, Lisp_Object *attrs, int signal_p, struct named_merge_point *named_merge_points)
2146{ 2146{
2147 Lisp_Object face_remapping; 2147 Lisp_Object face_remapping;
@@ -2307,7 +2307,7 @@ merge_face_heights (Lisp_Object from, Lisp_Object to, Lisp_Object invalid)
2307 loops in face inheritance/remapping; it should be 0 when called from 2307 loops in face inheritance/remapping; it should be 0 when called from
2308 other places. */ 2308 other places. */
2309 2309
2310static INLINE void 2310static inline void
2311merge_face_vectors (struct frame *f, Lisp_Object *from, Lisp_Object *to, struct named_merge_point *named_merge_points) 2311merge_face_vectors (struct frame *f, Lisp_Object *from, Lisp_Object *to, struct named_merge_point *named_merge_points)
2312{ 2312{
2313 int i; 2313 int i;
@@ -3903,7 +3903,7 @@ return the font name used for CHARACTER. */)
3903 all attributes are `equal'. Tries to be fast because this function 3903 all attributes are `equal'. Tries to be fast because this function
3904 is called quite often. */ 3904 is called quite often. */
3905 3905
3906static INLINE int 3906static inline int
3907face_attr_equal_p (Lisp_Object v1, Lisp_Object v2) 3907face_attr_equal_p (Lisp_Object v1, Lisp_Object v2)
3908{ 3908{
3909 /* Type can differ, e.g. when one attribute is unspecified, i.e. nil, 3909 /* Type can differ, e.g. when one attribute is unspecified, i.e. nil,
@@ -3936,7 +3936,7 @@ face_attr_equal_p (Lisp_Object v1, Lisp_Object v2)
3936 all attributes are `equal'. Tries to be fast because this function 3936 all attributes are `equal'. Tries to be fast because this function
3937 is called quite often. */ 3937 is called quite often. */
3938 3938
3939static INLINE int 3939static inline int
3940lface_equal_p (Lisp_Object *v1, Lisp_Object *v2) 3940lface_equal_p (Lisp_Object *v1, Lisp_Object *v2)
3941{ 3941{
3942 int i, equal_p = 1; 3942 int i, equal_p = 1;
@@ -4021,7 +4021,7 @@ For internal use only. */)
4021/* Return a hash code for Lisp string STRING with case ignored. Used 4021/* Return a hash code for Lisp string STRING with case ignored. Used
4022 below in computing a hash value for a Lisp face. */ 4022 below in computing a hash value for a Lisp face. */
4023 4023
4024static INLINE unsigned 4024static inline unsigned
4025hash_string_case_insensitive (Lisp_Object string) 4025hash_string_case_insensitive (Lisp_Object string)
4026{ 4026{
4027 const unsigned char *s; 4027 const unsigned char *s;
@@ -4035,7 +4035,7 @@ hash_string_case_insensitive (Lisp_Object string)
4035 4035
4036/* Return a hash code for face attribute vector V. */ 4036/* Return a hash code for face attribute vector V. */
4037 4037
4038static INLINE unsigned 4038static inline unsigned
4039lface_hash (Lisp_Object *v) 4039lface_hash (Lisp_Object *v)
4040{ 4040{
4041 return (hash_string_case_insensitive (v[LFACE_FAMILY_INDEX]) 4041 return (hash_string_case_insensitive (v[LFACE_FAMILY_INDEX])
@@ -4054,7 +4054,7 @@ lface_hash (Lisp_Object *v)
4054 family, point size, weight, width, slant, and font. Both 4054 family, point size, weight, width, slant, and font. Both
4055 LFACE1 and LFACE2 must be fully-specified. */ 4055 LFACE1 and LFACE2 must be fully-specified. */
4056 4056
4057static INLINE int 4057static inline int
4058lface_same_font_attributes_p (Lisp_Object *lface1, Lisp_Object *lface2) 4058lface_same_font_attributes_p (Lisp_Object *lface1, Lisp_Object *lface2)
4059{ 4059{
4060 xassert (lface_fully_specified_p (lface1) 4060 xassert (lface_fully_specified_p (lface1)
@@ -4460,7 +4460,7 @@ uncache_face (struct face_cache *c, struct face *face)
4460 Value is the ID of the face found. If no suitable face is found, 4460 Value is the ID of the face found. If no suitable face is found,
4461 realize a new one. */ 4461 realize a new one. */
4462 4462
4463static INLINE int 4463static inline int
4464lookup_face (struct frame *f, Lisp_Object *attr) 4464lookup_face (struct frame *f, Lisp_Object *attr)
4465{ 4465{
4466 struct face_cache *cache = FRAME_FACE_CACHE (f); 4466 struct face_cache *cache = FRAME_FACE_CACHE (f);
diff --git a/src/xterm.c b/src/xterm.c
index 3b8112d972b..0923bbb717a 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -1010,7 +1010,7 @@ x_set_mouse_face_gc (struct glyph_string *s)
1010 Faces to use in the mode line have already been computed when the 1010 Faces to use in the mode line have already been computed when the
1011 matrix was built, so there isn't much to do, here. */ 1011 matrix was built, so there isn't much to do, here. */
1012 1012
1013static INLINE void 1013static inline void
1014x_set_mode_line_face_gc (struct glyph_string *s) 1014x_set_mode_line_face_gc (struct glyph_string *s)
1015{ 1015{
1016 s->gc = s->face->gc; 1016 s->gc = s->face->gc;
@@ -1021,7 +1021,7 @@ x_set_mode_line_face_gc (struct glyph_string *s)
1021 S->stippled_p to a non-zero value if the face of S has a stipple 1021 S->stippled_p to a non-zero value if the face of S has a stipple
1022 pattern. */ 1022 pattern. */
1023 1023
1024static INLINE void 1024static inline void
1025x_set_glyph_string_gc (struct glyph_string *s) 1025x_set_glyph_string_gc (struct glyph_string *s)
1026{ 1026{
1027 PREPARE_FACE_FOR_DISPLAY (s->f, s->face); 1027 PREPARE_FACE_FOR_DISPLAY (s->f, s->face);
@@ -1066,7 +1066,7 @@ x_set_glyph_string_gc (struct glyph_string *s)
1066/* Set clipping for output of glyph string S. S may be part of a mode 1066/* Set clipping for output of glyph string S. S may be part of a mode
1067 line or menu if we don't have X toolkit support. */ 1067 line or menu if we don't have X toolkit support. */
1068 1068
1069static INLINE void 1069static inline void
1070x_set_glyph_string_clipping (struct glyph_string *s) 1070x_set_glyph_string_clipping (struct glyph_string *s)
1071{ 1071{
1072 XRectangle *r = s->clip; 1072 XRectangle *r = s->clip;
@@ -1139,7 +1139,7 @@ x_compute_glyph_string_overhangs (struct glyph_string *s)
1139 1139
1140/* Fill rectangle X, Y, W, H with background color of glyph string S. */ 1140/* Fill rectangle X, Y, W, H with background color of glyph string S. */
1141 1141
1142static INLINE void 1142static inline void
1143x_clear_glyph_string_rect (struct glyph_string *s, int x, int y, int w, int h) 1143x_clear_glyph_string_rect (struct glyph_string *s, int x, int y, int w, int h)
1144{ 1144{
1145 XGCValues xgcv; 1145 XGCValues xgcv;