2007-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
+ * 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
char *tparam ();
extern char *tgetstr ();
-
-static void term_clear_mouse_face ();
-static void term_mouse_highlight (struct frame *f, int x, int y);
\f
#ifdef HAVE_GPM
#include <sys/fcntl.h>
#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;
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;
cmcheckmagic (tty);
}
-
+#endif
/* An implementation of insert_glyphs for termcap frames. */