=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/cmd-rotate-window.c,v retrieving revision 1.20 retrieving revision 1.21 diff -c -r1.20 -r1.21 *** src/usr.bin/tmux/cmd-rotate-window.c 2016/10/10 21:51:39 1.20 --- src/usr.bin/tmux/cmd-rotate-window.c 2016/10/16 19:04:05 1.21 *************** *** 1,4 **** ! /* $OpenBSD: cmd-rotate-window.c,v 1.20 2016/10/10 21:51:39 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: cmd-rotate-window.c,v 1.21 2016/10/16 19:04:05 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott *************** *** 24,30 **** * Rotate the panes in a window. */ ! static enum cmd_retval cmd_rotate_window_exec(struct cmd *, struct cmd_q *); const struct cmd_entry cmd_rotate_window_entry = { .name = "rotate-window", --- 24,31 ---- * Rotate the panes in a window. */ ! static enum cmd_retval cmd_rotate_window_exec(struct cmd *, ! struct cmdq_item *); const struct cmd_entry cmd_rotate_window_entry = { .name = "rotate-window", *************** *** 40,48 **** }; static enum cmd_retval ! cmd_rotate_window_exec(struct cmd *self, struct cmd_q *cmdq) { ! struct winlink *wl = cmdq->state.tflag.wl; struct window *w = wl->window; struct window_pane *wp, *wp2; struct layout_cell *lc; --- 41,49 ---- }; static enum cmd_retval ! cmd_rotate_window_exec(struct cmd *self, struct cmdq_item *item) { ! struct winlink *wl = item->state.tflag.wl; struct window *w = wl->window; struct window_pane *wp, *wp2; struct layout_cell *lc;