* sysdep.c, term.c, termcap.c, terminal.c: Integer-related minor fixes.
commit653d4f43a7280d8fb84173be37b0c4c518cf7a88
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 11 Jul 2013 02:17:47 +0000 (10 19:17 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 11 Jul 2013 02:17:47 +0000 (10 19:17 -0700)
treed6d744fca51f03d46fabc65a85e3f1bc84f3f23d
parentd77974bfcacb720419e6fcbe3d6f5c37c5a790d6
* sysdep.c, term.c, termcap.c, terminal.c: Integer-related minor fixes.

* sysdep.c (emacs_get_tty): Return void, since nobody uses the value.
(emacs_set_tty): Now static.
* sysdep.c (emacs_set_tty, tabs_safe_p, emacs_close):
* term.c (tty_capable_p, tty_default_color_capabilities)
(get_tty_terminal, term_mouse_movement)
(handle_one_term_event, init_tty, maybe_fatal):
* termcap.c (tgetst1, struct termcap_buffer, valid_filename_p)
(tgetent, scan_file, name_match, compare_contin):
* terminal.c (get_terminal):
Use bool for boolean.
* sysdep.c (init_system_name): Don't overflow stack on huge hostname.
Prefer char to unsigned char if either will do.
* term.c (OUTPUT, turn_on_face): Omit unnecessary casts to int.
(tty_write_glyphs): Prefer int to unsigned.
(produce_glyphless_glyph): Remove 2nd (unused) int arg.
All callers changed.
* termcap.c (tprint, main) [TEST]: Remove non-working test.
src/ChangeLog
src/dispextern.h
src/sysdep.c
src/term.c
src/termcap.c
src/termhooks.h
src/terminal.c