aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-07-22 21:34:36 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-07-22 21:34:36 +0000
commit5ee84436c8bd77800fc2c04a8c5b20442078cde0 (patch)
tree36f3f898fcb01cf8f0465c3101d54b821241a288 /tmux.h
parentf7df0bac96bffd0f737d4e72578e1287061e42a4 (diff)
downloadrtmux-5ee84436c8bd77800fc2c04a8c5b20442078cde0.tar.gz
rtmux-5ee84436c8bd77800fc2c04a8c5b20442078cde0.tar.bz2
rtmux-5ee84436c8bd77800fc2c04a8c5b20442078cde0.zip
window_add_pane cannot fail, so remove the unused cause argument and don't
bother to check for a NULL return.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmux.h b/tmux.h
index 70c5a4b8..4e970535 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1469,7 +1469,7 @@ struct window *window_create(const char *, const char *,
const char *, const char **, u_int, u_int, u_int, char **);
void window_destroy(struct window *);
void window_set_active_pane(struct window *, struct window_pane *);
-struct window_pane *window_add_pane(struct window *, u_int, char **);
+struct window_pane *window_add_pane(struct window *, u_int);
void window_resize(struct window *, u_int, u_int);
void window_remove_pane(struct window *, struct window_pane *);
struct window_pane *window_pane_at_index(struct window *, u_int);