diff options
author | 2013-10-10 12:29:35 +0000 | |
---|---|---|
committer | 2013-10-10 12:29:35 +0000 | |
commit | d87b01fb5034d17ba73d2da58ecfc53e23c31041 (patch) | |
tree | b6377eda32d6538e6cf25219f0af5b4818737279 /usr.bin/tmux/tmux.h | |
parent | Remove now unused cmd_get_default_path. (diff) | |
download | wireguard-openbsd-d87b01fb5034d17ba73d2da58ecfc53e23c31041.tar.xz wireguard-openbsd-d87b01fb5034d17ba73d2da58ecfc53e23c31041.zip |
We accidentally haven't been using $TMUX to work out the session for a
while and in fact it is less useful that using the client ttyname. So
don't bother and don't pass it from the client. If we need it in future
it is in c->environ.
Diffstat (limited to 'usr.bin/tmux/tmux.h')
-rw-r--r-- | usr.bin/tmux/tmux.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h index ee144c1f62d..4fd3b9e94f8 100644 --- a/usr.bin/tmux/tmux.h +++ b/usr.bin/tmux/tmux.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.h,v 1.428 2013/10/10 12:26:36 nicm Exp $ */ +/* $OpenBSD: tmux.h,v 1.429 2013/10/10 12:29:35 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -464,9 +464,6 @@ enum msgtype { * Don't forget to bump PROTOCOL_VERSION if any of these change! */ struct msg_command_data { - pid_t pid; /* from $TMUX or -1 */ - int session_id; /* from $TMUX or -1 */ - int argc; }; /* followed by packed argv */ @@ -1408,8 +1405,6 @@ struct cmd_q { void (*emptyfn)(struct cmd_q *); void *data; - struct msg_command_data *msgdata; - TAILQ_ENTRY(cmd_q) waitentry; }; @@ -1503,8 +1498,6 @@ extern time_t start_time; extern char socket_path[MAXPATHLEN]; extern int login_shell; extern char *environ_path; -extern pid_t environ_pid; -extern int environ_session_id; void logfile(const char *); const char *getshell(void); int checkshell(const char *); |