Miscellaneous unused functions, including one which was basically a

duplicate. Found by lint.
This commit is contained in:
Nicholas Marriott
2009-06-25 06:15:04 +00:00
parent ed8350422e
commit 1675ddb4d1
8 changed files with 0 additions and 132 deletions

View File

@ -327,21 +327,6 @@ window_remove_pane(struct window *w, struct window_pane *wp)
window_pane_destroy(wp);
}
u_int
window_index_of_pane(struct window *w, struct window_pane *find)
{
struct window_pane *wp;
u_int n;
n = 0;
TAILQ_FOREACH(wp, &w->panes, entry) {
if (wp == find)
return (n);
n++;
}
fatalx("unknown pane");
}
struct window_pane *
window_pane_at_index(struct window *w, u_int idx)
{