diff options
author | 2020-05-24 09:13:06 +0000 | |
---|---|---|
committer | 2020-05-24 09:13:06 +0000 | |
commit | a4da624b5f2ba8efc5a6a69e73ed810217575fb2 (patch) | |
tree | ff9476df1ceb611116dc1d41dd1d32989db96cda /usr.bin/tmux/tmux.h | |
parent | those tempfiles no longer have names (diff) | |
download | wireguard-openbsd-a4da624b5f2ba8efc5a6a69e73ed810217575fb2.tar.xz wireguard-openbsd-a4da624b5f2ba8efc5a6a69e73ed810217575fb2.zip |
Now the tty has a pointer back to the client there is no point (and a
bit confusing) in it keeping a copy of the fd as well. Remove it.
Diffstat (limited to 'usr.bin/tmux/tmux.h')
-rw-r--r-- | usr.bin/tmux/tmux.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h index 0900362c2b2..eb1a453f827 100644 --- a/usr.bin/tmux/tmux.h +++ b/usr.bin/tmux/tmux.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.h,v 1.1050 2020/05/22 11:07:05 nicm Exp $ */ +/* $OpenBSD: tmux.h,v 1.1051 2020/05/24 09:13:06 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -1283,7 +1283,6 @@ struct tty { u_int rleft; u_int rright; - int fd; struct event event_in; struct evbuffer *in; struct event event_out; @@ -2064,7 +2063,7 @@ void tty_putc(struct tty *, u_char); void tty_putn(struct tty *, const void *, size_t, u_int); void tty_cell(struct tty *, const struct grid_cell *, const struct grid_cell *, int *); -int tty_init(struct tty *, struct client *, int); +int tty_init(struct tty *, struct client *); void tty_resize(struct tty *); void tty_set_size(struct tty *, u_int, u_int, u_int, u_int); void tty_start_tty(struct tty *); |