diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-06-25 16:09:11 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-06-25 16:09:11 +0000 |
commit | 582660bdf3fb8684b3eff46d6c2009d763761225 (patch) | |
tree | 1b040574a7d3db926ad64d4d36c7044d62f77fd7 /tty-write.c | |
parent | 62822b184887d858fb2f877b16b2ef3291b991c1 (diff) | |
download | rtmux-582660bdf3fb8684b3eff46d6c2009d763761225.tar.gz rtmux-582660bdf3fb8684b3eff46d6c2009d763761225.tar.bz2 rtmux-582660bdf3fb8684b3eff46d6c2009d763761225.zip |
Miscellaneous unused functions, including one which was basically a
duplicate. Found by lint.
Diffstat (limited to 'tty-write.c')
-rw-r--r-- | tty-write.c | 27 |
1 files changed, 1 insertions, 26 deletions
diff --git a/tty-write.c b/tty-write.c index d4bf183c..5f885fd4 100644 --- a/tty-write.c +++ b/tty-write.c @@ -1,4 +1,4 @@ -/* $Id: tty-write.c,v 1.15 2009-05-04 17:58:27 nicm Exp $ */ +/* $OpenBSD: tty-write.c,v 1.3 2009/06/25 06:15:04 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -64,28 +64,3 @@ tty_vwrite_cmd(struct window_pane *wp, enum tty_cmd cmd, va_list ap) } } -void -tty_write_mode(struct window_pane *wp, int mode) -{ - struct client *c; - u_int i; - - if (wp == NULL) - return; - - if (wp->window->flags & WINDOW_REDRAW || wp->flags & PANE_REDRAW) - return; - if (wp->window->flags & WINDOW_HIDDEN || wp->flags & PANE_HIDDEN) - return; - - for (i = 0; i < ARRAY_LENGTH(&clients); i++) { - c = ARRAY_ITEM(&clients, i); - if (c == NULL || c->session == NULL) - continue; - if (c->flags & CLIENT_SUSPENDED) - continue; - - tty_update_mode(&c->tty, mode); - } -} - |