aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2013-10-10 12:29:35 +0000
committernicm <nicm>2013-10-10 12:29:35 +0000
commitc1ccefc62d2a70c91ac31cff141031d61cc0a12c (patch)
tree924a96d6a8d0f1fe0e98e1ad8c6bb9af6bf2be27 /tmux.h
parent6ac7abe8f038c21c1cf33d50a02e970f0de81c09 (diff)
downloadrtmux-c1ccefc62d2a70c91ac31cff141031d61cc0a12c.tar.gz
rtmux-c1ccefc62d2a70c91ac31cff141031d61cc0a12c.tar.bz2
rtmux-c1ccefc62d2a70c91ac31cff141031d61cc0a12c.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 e281790d..e18176e8 100644
--- a/tmux.h
+++ b/tmux.h
@@ -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 *);