tty_write is relatively short and the only function left in tty-write.c so move

it into tty.c.
This commit is contained in:
Nicholas Marriott
2009-07-22 20:56:58 +00:00
parent ddad0be5f7
commit dd4a3b24fc
4 changed files with 32 additions and 57 deletions

4
tmux.h
View File

@ -791,7 +791,6 @@ struct tty_ctx {
u_int orupper;
u_int orlower;
};
typedef void tty_cmd_func(struct tty *, struct tty_ctx *);
/* Client connection. */
struct client {
@ -1077,9 +1076,6 @@ void tty_keys_init(struct tty *);
void tty_keys_free(struct tty *);
int tty_keys_next(struct tty *, int *, u_char *);
/* tty-write.c */
void tty_write(tty_cmd_func *, struct tty_ctx *);
/* options-cmd.c */
void set_option_string(struct cmd_ctx *,
struct options *, const struct set_option_entry *, char *);