aboutsummaryrefslogtreecommitdiff
path: root/tty-write.c
diff options
context:
space:
mode:
Diffstat (limited to 'tty-write.c')
-rw-r--r--tty-write.c34
1 files changed, 0 insertions, 34 deletions
diff --git a/tty-write.c b/tty-write.c
index c9bc534e..2d44d7f8 100644
--- a/tty-write.c
+++ b/tty-write.c
@@ -18,43 +18,9 @@
#include <sys/types.h>
-#include <string.h>
-
#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)
{
struct window_pane *wp = ctx->wp;