summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/tmux.h
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2017-04-21 17:22:20 +0000
committernicm <nicm@openbsd.org>2017-04-21 17:22:20 +0000
commit1adc95ebcfac5fbbc6375f336c8233de42e202a6 (patch)
tree3ac57e3cfeb0fabb0bd5e370cfef3e5002200a37 /usr.bin/tmux/tmux.h
parentFix nic lock usage around iwm_disable_rx_dma(). (diff)
downloadwireguard-openbsd-1adc95ebcfac5fbbc6375f336c8233de42e202a6.tar.xz
wireguard-openbsd-1adc95ebcfac5fbbc6375f336c8233de42e202a6.zip
Add cmd_find_from_winlink_pane and use it in a couple of places, and
make functions that can't fail void.
Diffstat (limited to 'usr.bin/tmux/tmux.h')
-rw-r--r--usr.bin/tmux/tmux.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h
index 655070d9bcf..10ddb3f24d9 100644
--- a/usr.bin/tmux/tmux.h
+++ b/usr.bin/tmux/tmux.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tmux.h,v 1.747 2017/04/21 16:04:18 nicm Exp $ */
+/* $OpenBSD: tmux.h,v 1.748 2017/04/21 17:22:20 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -1744,15 +1744,17 @@ int cmd_find_valid_state(struct cmd_find_state *);
void cmd_find_copy_state(struct cmd_find_state *,
struct cmd_find_state *);
void cmd_find_log_state(const char *, struct cmd_find_state *);
-int cmd_find_from_session(struct cmd_find_state *,
+void cmd_find_from_session(struct cmd_find_state *,
struct session *);
-int cmd_find_from_winlink(struct cmd_find_state *,
+void cmd_find_from_winlink(struct cmd_find_state *,
struct winlink *);
int cmd_find_from_session_window(struct cmd_find_state *,
struct session *, struct window *);
int cmd_find_from_window(struct cmd_find_state *, struct window *);
int cmd_find_from_pane(struct cmd_find_state *,
struct window_pane *);
+void cmd_find_from_winlink_pane(struct cmd_find_state *,
+ struct winlink *, struct window_pane *);
/* cmd.c */
int cmd_pack_argv(int, char **, char *, size_t);