summaryrefslogtreecommitdiffstats
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2015-11-24 23:22:51 +0000
committernicm <nicm>2015-11-24 23:22:51 +0000
commit3ff46b2e43d48376f74c0fd74b5616925d4063f0 (patch)
tree04da858b1a77331248788209f8aa02d36a85d413 /tmux.h
parentdca93c56e05ce631dd2f80da759f40c4d4b20ab5 (diff)
Shell command from -c doesn't have to be global, pass it as an argument.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/tmux.h b/tmux.h
index 50d7fb03..f4638bc8 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1431,7 +1431,6 @@ extern struct options *global_options;
extern struct options *global_s_options;
extern struct options *global_w_options;
extern struct environ *global_environ;
-extern char *shell_cmd;
extern struct timeval start_time;
extern const char *socket_path;
const char *getshell(void);
@@ -1732,7 +1731,7 @@ int cmd_string_parse(const char *, struct cmd_list **, const char *,
void cmd_wait_for_flush(void);
/* client.c */
-int client_main(struct event_base *, int, char **, int);
+int client_main(struct event_base *, int, char **, int, const char *);
/* key-bindings.c */
RB_PROTOTYPE(key_bindings, key_binding, entry, key_bindings_cmp);