# HG changeset patch # User Stefan Monnier # Date 1191099408 0 # Node ID a35153116cd08d7a535a82f94179e8c3f5398554 # Parent db5465b7ec88c00e8cceba6f792b78aaf1f4c06d (term_clear_mouse_face, term_mouse_highlight) (tty_write_glyphs_with_face): Only define is HAVE_GPM. diff -r db5465b7ec88 -r a35153116cd0 src/ChangeLog --- a/src/ChangeLog Sat Sep 29 20:55:28 2007 +0000 +++ b/src/ChangeLog Sat Sep 29 20:56:48 2007 +0000 @@ -1,5 +1,8 @@ 2007-09-29 Stefan Monnier + * term.c (term_clear_mouse_face, term_mouse_highlight) + (tty_write_glyphs_with_face): Only define is HAVE_GPM. + * print.c (safe_debug_print): Use XHASH. * lisp.h (DECL_ALIGN, USE_LSB_TAG): Move logic to before definition of diff -r db5465b7ec88 -r a35153116cd0 src/term.c --- a/src/term.c Sat Sep 29 20:55:28 2007 +0000 +++ b/src/term.c Sat Sep 29 20:56:48 2007 +0000 @@ -182,15 +182,15 @@ char *tparam (); extern char *tgetstr (); - -static void term_clear_mouse_face (); -static void term_mouse_highlight (struct frame *f, int x, int y); #ifdef HAVE_GPM #include #include "buffer.h" +static void term_clear_mouse_face (); +static void term_mouse_highlight (struct frame *f, int x, int y); + /* The device for which we have enabled gpm support (or NULL). */ struct tty_display_info *gpm_tty = NULL; @@ -739,6 +739,8 @@ cmcheckmagic (tty); } +#ifdef HAVE_GPM /* Only used by GPM code. */ + static void tty_write_glyphs_with_face (f, string, len, face_id) register struct frame *f; @@ -797,7 +799,7 @@ cmcheckmagic (tty); } - +#endif /* An implementation of insert_glyphs for termcap frames. */