From ed3cfaafb2c04776b6452fa968715a3626d99a4a Mon Sep 17 00:00:00 2001 From: nicm Date: Wed, 12 Jul 2017 09:21:25 +0000 Subject: Make shell_command a global like other stuff rather than making it an exception and using callback argument. --- tmux.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tmux.h') diff --git a/tmux.h b/tmux.h index ec926d48..18904ab9 100644 --- a/tmux.h +++ b/tmux.h @@ -1486,6 +1486,7 @@ extern struct environ *global_environ; extern struct timeval start_time; extern const char *socket_path; extern int ptm_fd; +extern const char *shell_command; int areshell(const char *); void setblocking(int, int); const char *find_home(void); @@ -1820,7 +1821,7 @@ struct cmd_list *cmd_string_parse(const char *, const char *, u_int, char **); void cmd_wait_for_flush(void); /* client.c */ -int client_main(struct event_base *, int, char **, int, const char *); +int client_main(struct event_base *, int, char **, int); /* key-bindings.c */ RB_PROTOTYPE(key_bindings, key_binding, entry, key_bindings_cmp); -- cgit