aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2011-02-14 23:11:33 +0000
committerTiago Cunha <tcunha@gmx.com>2011-02-14 23:11:33 +0000
commitd0d1c0e486dc13b6e5db93819ca1b634d384f283 (patch)
tree84a3d6a559cb2cc6e90fb60fde99a3d65891e285 /tmux.h
parentd37650dc4f10c38579a8d140cac99d4c4411e729 (diff)
downloadrtmux-d0d1c0e486dc13b6e5db93819ca1b634d384f283.tar.gz
rtmux-d0d1c0e486dc13b6e5db93819ca1b634d384f283.tar.bz2
rtmux-d0d1c0e486dc13b6e5db93819ca1b634d384f283.zip
Sync OpenBSD patchset 848:
Set $TMUX without the session when background jobs are run.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/tmux.h b/tmux.h
index af353b21..6e9abd1c 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1,4 +1,4 @@
-/* $Id: tmux.h,v 1.605 2011-01-21 23:56:11 tcunha Exp $ */
+/* $Id: tmux.h,v 1.606 2011-02-14 23:11:33 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -379,8 +379,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];
@@ -1297,7 +1297,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 *);