summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/window.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2019-03-14 09:50:10 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2019-03-14 09:50:10 +0000
commit3e1c6f45ac8c7b82c51357ffb6067cb8c8bca08f (patch)
treed2bfdd678ebed4842af9ab13e286adab86d3404e /usr.bin/tmux/window.c
parentadd611053b27ee4deffcb47a0c7f38249c4433c3 (diff)
Do not use const on struct window_pane, it causes more trouble than it
is worth.
Diffstat (limited to 'usr.bin/tmux/window.c')
-rw-r--r--usr.bin/tmux/window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/window.c b/usr.bin/tmux/window.c
index 686fdccb6c1..ab62b905a8b 100644
--- a/usr.bin/tmux/window.c
+++ b/usr.bin/tmux/window.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: window.c,v 1.219 2019/03/12 13:56:30 nicm Exp $ */
+/* $OpenBSD: window.c,v 1.220 2019/03/14 09:50:09 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -1179,7 +1179,7 @@ window_pane_reset_palette(struct window_pane *wp)
}
int
-window_pane_get_palette(const struct window_pane *wp, int c)
+window_pane_get_palette(struct window_pane *wp, int c)
{
int new;