From 3de2d767fab29413ecd99fcdd45f2f7c81e3061a Mon Sep 17 00:00:00 2001 From: nicm Date: Fri, 8 May 2015 16:23:34 +0000 Subject: [PATCH] window_choose_mode_item can move into window-choose.c. --- usr.bin/tmux/tmux.h | 10 +--------- usr.bin/tmux/window-choose.c | 10 +++++++++- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h index 5e09f9fd719..f2855411ede 100644 --- a/usr.bin/tmux/tmux.h +++ b/usr.bin/tmux/tmux.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.h,v 1.507 2015/05/08 16:18:04 nicm Exp $ */ +/* $OpenBSD: tmux.h,v 1.508 2015/05/08 16:23:34 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -823,14 +823,6 @@ struct window_choose_data { char *command; }; -struct window_choose_mode_item { - struct window_choose_data *wcd; - char *name; - int pos; - int state; -#define TREE_EXPANDED 0x1 -}; - /* Child window structure. */ struct input_ctx; struct window_pane { diff --git a/usr.bin/tmux/window-choose.c b/usr.bin/tmux/window-choose.c index 1b297625fbf..586f42b9c15 100644 --- a/usr.bin/tmux/window-choose.c +++ b/usr.bin/tmux/window-choose.c @@ -1,4 +1,4 @@ -/* $OpenBSD: window-choose.c,v 1.63 2015/05/07 08:08:54 nicm Exp $ */ +/* $OpenBSD: window-choose.c,v 1.64 2015/05/08 16:23:34 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott @@ -60,6 +60,14 @@ const struct window_mode window_choose_mode = { NULL, }; +struct window_choose_mode_item { + struct window_choose_data *wcd; + char *name; + int pos; + int state; +#define TREE_EXPANDED 0x1 +}; + struct window_choose_mode_data { struct screen screen; -- 2.20.1