summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/tmux.h
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2017-07-12 09:21:25 +0000
committernicm <nicm@openbsd.org>2017-07-12 09:21:25 +0000
commit667452e4af697f58190a00179e0dfc97b046d4f5 (patch)
tree9b906da276b88a20b562636713eb5e2bf4900ee3 /usr.bin/tmux/tmux.h
parentproc_send_s now seems unnecessary. (diff)
downloadwireguard-openbsd-667452e4af697f58190a00179e0dfc97b046d4f5.tar.xz
wireguard-openbsd-667452e4af697f58190a00179e0dfc97b046d4f5.zip
Make shell_command a global like other stuff rather than making it an
exception and using callback argument.
Diffstat (limited to 'usr.bin/tmux/tmux.h')
-rw-r--r--usr.bin/tmux/tmux.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h
index 460f91bdf01..7140564e83b 100644
--- a/usr.bin/tmux/tmux.h
+++ b/usr.bin/tmux/tmux.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tmux.h,v 1.793 2017/07/12 09:07:52 nicm Exp $ */
+/* $OpenBSD: tmux.h,v 1.794 2017/07/12 09:21:25 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -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);