summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/window-copy.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2018-12-18 13:20:45 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2018-12-18 13:20:45 +0000
commit50c8b42191aaac565e6da9ddaaaaf524d766ad9b (patch)
tree3098d1b1b6e409e063f0b5dc0072e5c5be681562 /usr.bin/tmux/window-copy.c
parent7a8c12dd787a002a9cd87040fff61bfd72a57366 (diff)
Pass window into mode functions.
Diffstat (limited to 'usr.bin/tmux/window-copy.c')
-rw-r--r--usr.bin/tmux/window-copy.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/tmux/window-copy.c b/usr.bin/tmux/window-copy.c
index 84f40e4a57a..2e8e6f56945 100644
--- a/usr.bin/tmux/window-copy.c
+++ b/usr.bin/tmux/window-copy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: window-copy.c,v 1.204 2018/11/28 11:20:13 nicm Exp $ */
+/* $OpenBSD: window-copy.c,v 1.205 2018/12/18 13:20:44 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -26,7 +26,8 @@
static const char *window_copy_key_table(struct window_pane *);
static void window_copy_command(struct window_pane *, struct client *,
- struct session *, struct args *, struct mouse_event *);
+ struct session *, struct winlink *, struct args *,
+ struct mouse_event *);
static struct screen *window_copy_init(struct window_pane *,
struct cmd_find_state *, struct args *);
static void window_copy_free(struct window_pane *);
@@ -514,7 +515,7 @@ window_copy_key_table(struct window_pane *wp)
static void
window_copy_command(struct window_pane *wp, struct client *c, struct session *s,
- struct args *args, struct mouse_event *m)
+ __unused struct winlink *wl, struct args *args, struct mouse_event *m)
{
struct window_copy_mode_data *data = wp->modedata;
struct screen *sn = &data->screen;