changeset 80521:3a0a49151716

(x_y_to_hpos_vpos, fast_find_position) [HAVE_CARBON]: Make functions non-static.
author YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
date Wed, 23 Apr 2008 08:56:30 +0000
parents aaff809b3a06
children 020ac20bda39
files src/xdisp.c
diffstat 1 files changed, 8 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Wed Apr 23 08:56:20 2008 +0000
+++ b/src/xdisp.c	Wed Apr 23 08:56:30 2008 +0000
@@ -1700,7 +1700,10 @@
    text, or we can't tell because W's current matrix is not up to
    date.  */
 
-static struct glyph *
+#ifndef HAVE_CARBON
+static
+#endif
+struct glyph *
 x_y_to_hpos_vpos (w, x, y, hpos, vpos, dx, dy, area)
      struct window *w;
      int x, y;
@@ -22079,7 +22082,10 @@
 	 in 20.x as well, and I think it's too risky to install
 	 so near the release of 21.1.  2001-09-25 gerd.  */
 
-static int
+#ifndef HAVE_CARBON
+static
+#endif
+int
 fast_find_position (w, charpos, hpos, vpos, x, y, stop)
      struct window *w;
      int charpos;