summaryrefslogtreecommitdiffstats
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2011-01-23 11:03:43 +0000
committerNicholas Marriott <nicm@openbsd.org>2011-01-23 11:03:43 +0000
commitb8023044c35f3099e67793e3573e9e001a43b1fe (patch)
tree2b08003a9370566d0fd6b32be7a1f02b96caf1a2 /tmux.h
parent1377427e708f23275c40a7b86d999bf6f8dd4a94 (diff)
Set $TMUX without the session when background jobs are run.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/tmux.h b/tmux.h
index 4eab285c..f6a45d33 100644
--- a/tmux.h
+++ b/tmux.h
@@ -383,8 +383,8 @@ enum msgtype {
* Don't forget to bump PROTOCOL_VERSION if any of these change!
*/
struct msg_command_data {
- pid_t pid; /* pid from $TMUX or -1 */
- u_int idx; /* index from $TMUX */
+ pid_t pid; /* PID from $TMUX or -1 */
+ int idx; /* index from $TMUX or -1 */
int argc;
char argv[COMMAND_LENGTH];
@@ -1301,7 +1301,7 @@ extern char socket_path[MAXPATHLEN];
extern int login_shell;
extern char *environ_path;
extern pid_t environ_pid;
-extern u_int environ_idx;
+extern int environ_idx;
void logfile(const char *);
const char *getshell(void);
int checkshell(const char *);