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.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.c')
-rw-r--r-- | tty.c | 12 |
1 files changed, 1 insertions, 11 deletions
@@ -1,4 +1,4 @@ -/* $OpenBSD: tty.c,v 1.6 2009/06/25 05:56:44 nicm Exp $ */ +/* $OpenBSD: tty.c,v 1.7 2009/06/25 06:15:04 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -557,16 +557,6 @@ tty_draw_line(struct tty *tty, struct screen *s, u_int py, u_int ox, u_int oy) } void -tty_write(struct tty *tty, struct window_pane *wp, enum tty_cmd cmd, ...) -{ - va_list ap; - - va_start(ap, cmd); - tty_vwrite(tty, wp, cmd, ap); - va_end(ap); -} - -void tty_vwrite( struct tty *tty, struct window_pane *wp, enum tty_cmd cmd, va_list ap) { |