+2011-03-11 Eli Zaretskii <eliz@gnu.org>
+
+ * termhooks.h (encode_terminal_code): Declare prototype.
+
+ * msdos.c (encode_terminal_code): Don't declare prototype.
+
+ * term.c (encode_terminal_code): Now external again, used by
+ w32console.c and msdos.c.
+
+ * makefile.w32-in ($(BLD)/term.$(O), ($(BLD)/tparam.$(O)): Depend
+ on $(SRC)/tparam.h, see 2011-03-11T07:24:21Z!eggert@cs.ucla.edu.
+
2011-03-11 Paul Eggert <eggert@cs.ucla.edu>
Fix some minor problems found by GCC 4.5.2's static checks.
$(SRC)/termchar.h \
$(SRC)/termhooks.h \
$(SRC)/termopts.h \
+ $(SRC)/tparam.h \
$(SRC)/w32gui.h \
$(SRC)/window.h
$(BLD)/tparam.$(O) : \
$(SRC)/tparam.c \
+ $(SRC)/tparam.h \
$(CONFIG_H) \
$(LISP_H)
extern unsigned char *encode_terminal_code (struct glyph *, int,
struct coding_system *);
+
static void
IT_write_glyphs (struct frame *f, struct glyph *str, int str_len)
{
Set CODING->produced to the byte-length of the resulting byte
sequence, and return a pointer to that byte sequence. */
-static unsigned char *
+unsigned char *
encode_terminal_code (struct glyph *src, int src_len, struct coding_system *coding)
{
struct glyph *src_end = src + src_len;
/* The initial terminal device, created by initial_term_init. */
extern struct terminal *initial_terminal;
+extern unsigned char *encode_terminal_code (struct glyph *, int,
+ struct coding_system *);
+
#ifdef HAVE_GPM
extern void close_gpm (int gpm_fd);
#endif