]> git.eshelyaron.com Git - emacs.git/commitdiff
Define aliases for append_glyph and produce_stretch_glyph
authorKim F. Storm <storm@cua.dk>
Wed, 22 Mar 2006 22:47:32 +0000 (22:47 +0000)
committerKim F. Storm <storm@cua.dk>
Wed, 22 Mar 2006 22:47:32 +0000 (22:47 +0000)
when `static' is defined to avoid name clash with those in xdisp.c.

src/term.c

index 2b44653b961ec4cf92ac9d8fbf6311cf0f92cda4..603305c8f1736e80ac9c54dcd4615f7f30921814 100644 (file)
@@ -1629,6 +1629,12 @@ term_get_fkeys_1 ()
                       Character Display Information
  ***********************************************************************/
 
+/* Avoid name clash with functions defined in xterm.c */
+#ifdef static
+#define append_glyph append_glyph_term
+#define produce_stretch_glyph produce_stretch_glyph_term
+#endif
+
 static void append_glyph P_ ((struct it *));
 static void produce_stretch_glyph P_ ((struct it *));