Sync OpenBSD patchset 164:

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:
Tiago Cunha
2009-07-23 12:57:45 +00:00
parent b72f9bea43
commit c84145751a
3 changed files with 33 additions and 58 deletions

6
tmux.h
View File

@ -1,4 +1,4 @@
/* $Id: tmux.h,v 1.384 2009-07-23 12:48:18 tcunha Exp $ */
/* $Id: tmux.h,v 1.385 2009-07-23 12:57:45 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -790,7 +790,6 @@ struct tty_ctx {
u_int orupper;
u_int orlower;
};
typedef void tty_cmd_func(struct tty *, struct tty_ctx *);
/* Client connection. */
struct client {
@ -1076,9 +1075,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 *);