From 582660bdf3fb8684b3eff46d6c2009d763761225 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Thu, 25 Jun 2009 16:09:11 +0000 Subject: Miscellaneous unused functions, including one which was basically a duplicate. Found by lint. --- tty.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'tty.c') diff --git a/tty.c b/tty.c index af6b1100..fec7c0e4 100644 --- a/tty.c +++ b/tty.c @@ -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 @@ -556,16 +556,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) -- cgit