aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2009-07-23 13:10:38 +0000
committerTiago Cunha <tcunha@gmx.com>2009-07-23 13:10:38 +0000
commit6708ad19c5acc28d3a1a1ad710fd4624365f68e2 (patch)
tree78c5f7e090b86619cfd5696604eb659806bab5df /tmux.h
parentfb0301f8b89988469603d2573904633aff075c10 (diff)
downloadrtmux-6708ad19c5acc28d3a1a1ad710fd4624365f68e2.tar.gz
rtmux-6708ad19c5acc28d3a1a1ad710fd4624365f68e2.tar.bz2
rtmux-6708ad19c5acc28d3a1a1ad710fd4624365f68e2.zip
Sync OpenBSD patchset 165:
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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tmux.h b/tmux.h
index 0fb3e5ed..f7ccb4b7 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1,4 +1,4 @@
-/* $Id: tmux.h,v 1.385 2009-07-23 12:57:45 tcunha Exp $ */
+/* $Id: tmux.h,v 1.386 2009-07-23 13:10:38 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -1468,7 +1468,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);