aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2013-10-06 22:38:33 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2013-10-06 22:38:33 +0100
commite9b09faab262f179fec936c4036713866b98e3d0 (patch)
tree75efa6b12a3b46b846d7c1eb39bb4894c2b25b2f /tmux.h
parent5ea6148362e6f80019b0f41c29bdc395c69e41dc (diff)
downloadrtmux-e9b09faab262f179fec936c4036713866b98e3d0.tar.gz
rtmux-e9b09faab262f179fec936c4036713866b98e3d0.tar.bz2
rtmux-e9b09faab262f179fec936c4036713866b98e3d0.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 'tmux.h')
-rw-r--r--tmux.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/tmux.h b/tmux.h
index a76d1024..84ad1643 100644
--- a/tmux.h
+++ b/tmux.h
@@ -457,9 +457,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 */
@@ -1401,8 +1398,6 @@ struct cmd_q {
void (*emptyfn)(struct cmd_q *);
void *data;
- struct msg_command_data *msgdata;
-
TAILQ_ENTRY(cmd_q) waitentry;
};
@@ -1496,8 +1491,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 *);