summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2012-07-12 20:50:58 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2012-07-12 20:50:58 -0700
commit1a95276708930fe579fff152c590df875c29570e (patch)
treeff7f9bba778abb2cb9817876a3871255695cb8ab
parent32fb4bb69b61a2ef5b1d5d1e17e6915ba5d23e5b (diff)
downloademacs-1a95276708930fe579fff152c590df875c29570e.tar.gz
* xdisp.c (produce_special_glyphs): Now static.
* dispextern.h (produce_special_glyphs): Remove decl.
-rw-r--r--src/ChangeLog5
-rw-r--r--src/dispextern.h1
-rw-r--r--src/xdisp.c3
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 <eggert@cs.ucla.edu>
+
+ * xdisp.c (produce_special_glyphs): Now static.
+ * dispextern.h (produce_special_glyphs): Remove decl.
+
2012-07-13 Glenn Morris <rgm@gnu.org>
* 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;