window_choose_mode_item can move into window-choose.c.
authornicm <nicm@openbsd.org>
Fri, 8 May 2015 16:23:34 +0000 (16:23 +0000)
committernicm <nicm@openbsd.org>
Fri, 8 May 2015 16:23:34 +0000 (16:23 +0000)
usr.bin/tmux/tmux.h
usr.bin/tmux/window-choose.c

index 5e09f9f..f285541 100644 (file)
@@ -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 <nicm@users.sourceforge.net>
@@ -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 {
index 1b29762..586f42b 100644 (file)
@@ -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 <nicm@users.sourceforge.net>
@@ -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;