From 1a95276708930fe579fff152c590df875c29570e Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 12 Jul 2012 20:50:58 -0700 Subject: [PATCH] * xdisp.c (produce_special_glyphs): Now static. * dispextern.h (produce_special_glyphs): Remove decl. --- src/ChangeLog | 5 +++++ src/dispextern.h | 1 - src/xdisp.c | 3 ++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 5d19ea0c782..0ce8839c405 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2012-07-13 Paul Eggert + + * xdisp.c (produce_special_glyphs): Now static. + * dispextern.h (produce_special_glyphs): Remove decl. + 2012-07-13 Glenn Morris * s/bsd-common, s/cygwin.h: Remove empty files. diff --git a/src/dispextern.h b/src/dispextern.h index b08d6107b80..5bdf943466b 100644 --- a/src/dispextern.h +++ b/src/dispextern.h @@ -3065,7 +3065,6 @@ extern ptrdiff_t compute_display_string_pos (struct text_pos *, extern ptrdiff_t compute_display_string_end (ptrdiff_t, struct bidi_string_data *); extern void produce_stretch_glyph (struct it *); -extern void produce_special_glyphs (struct it *, enum display_element_type); #ifdef HAVE_WINDOW_SYSTEM diff --git a/src/xdisp.c b/src/xdisp.c index a03de37dba9..4fa3c375ea7 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -951,6 +951,7 @@ static void append_stretch_glyph (struct it *, Lisp_Object, #endif /* HAVE_WINDOW_SYSTEM */ +static void produce_special_glyphs (struct it *, enum display_element_type); static void show_mouse_face (Mouse_HLInfo *, enum draw_glyphs_face); static int coords_in_mouse_face_p (struct window *, int, int); @@ -24179,7 +24180,7 @@ produce_stretch_glyph (struct it *it) non-null glyph_row member. This function ensures that fields like face_id, c, len of IT are left untouched. */ -void +static void produce_special_glyphs (struct it *it, enum display_element_type what) { struct it temp_it; -- 2.39.2