=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/Attic/tty-write.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- src/usr.bin/tmux/Attic/tty-write.c 2009/07/22 18:02:23 1.6 +++ src/usr.bin/tmux/Attic/tty-write.c 2009/07/22 20:53:38 1.7 @@ -1,4 +1,4 @@ -/* $OpenBSD: tty-write.c,v 1.6 2009/07/22 18:02:23 nicm Exp $ */ +/* $OpenBSD: tty-write.c,v 1.7 2009/07/22 20:53:38 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -18,41 +18,7 @@ #include -#include - #include "tmux.h" - -void -tty_write0(struct window_pane *wp, tty_cmd_func *cmdfn) -{ - struct tty_ctx ctx; - - memset(&ctx, 0, sizeof ctx); - ctx.wp = wp; - tty_write(cmdfn, &ctx); -} - -void -tty_writenum(struct window_pane *wp, tty_cmd_func *cmdfn, u_int num) -{ - struct tty_ctx ctx; - - memset(&ctx, 0, sizeof ctx); - ctx.wp = wp; - ctx.num = num; - tty_write(cmdfn, &ctx); -} - -void -tty_writeptr(struct window_pane *wp, tty_cmd_func *cmdfn, void *ptr) -{ - struct tty_ctx ctx; - - memset(&ctx, 0, sizeof ctx); - ctx.wp = wp; - ctx.ptr = ptr; - tty_write(cmdfn, &ctx); -} void tty_write(tty_cmd_func *cmdfn, struct tty_ctx *ctx)