From cb8e2701ce90572189ab471e9877e2aba067cc41 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Tue, 11 Aug 2009 19:32:26 +0000 Subject: Drop the no_stop argument to tty_close and tty_free in favour of a flag in the tty struct. --- usr.bin/tmux/tmux.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'usr.bin/tmux/tmux.h') diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h index 44ce559e268..c196b802142 100644 --- a/usr.bin/tmux/tmux.h +++ b/usr.bin/tmux/tmux.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.h,v 1.75 2009/08/11 17:18:35 nicm Exp $ */ +/* $OpenBSD: tmux.h,v 1.76 2009/08/11 19:32:25 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -868,6 +868,7 @@ struct tty { #define TTY_FREEZE 0x2 #define TTY_ESCAPE 0x4 #define TTY_UTF8 0x8 +#define TTY_STARTED 0x10 int flags; int term_flags; @@ -1164,8 +1165,8 @@ void tty_set_title(struct tty *, const char *); void tty_update_mode(struct tty *, int); void tty_draw_line(struct tty *, struct screen *, u_int, u_int, u_int); int tty_open(struct tty *, const char *, char **); -void tty_close(struct tty *, int); -void tty_free(struct tty *, int); +void tty_close(struct tty *); +void tty_free(struct tty *); void tty_write(void (*)(struct tty *, struct tty_ctx *), struct tty_ctx *); void tty_cmd_alignmenttest(struct tty *, struct tty_ctx *); void tty_cmd_cell(struct tty *, struct tty_ctx *); -- cgit v1.2.3