diff options
author | 2015-05-07 08:08:54 +0000 | |
---|---|---|
committer | 2015-05-07 08:08:54 +0000 | |
commit | 38356db4d3a6d0bc585dff363fd7ee45e09f3135 (patch) | |
tree | e0567d0b6a028613a89f20ef4c1526ea3bfd937a | |
parent | Use a TAILQ not array for find-window. (diff) | |
download | wireguard-openbsd-38356db4d3a6d0bc585dff363fd7ee45e09f3135.tar.xz wireguard-openbsd-38356db4d3a6d0bc585dff363fd7ee45e09f3135.zip |
array.h can be local to window-choose.c now.
-rw-r--r-- | usr.bin/tmux/tmux.h | 4 | ||||
-rw-r--r-- | usr.bin/tmux/window-choose.c | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h index 6351b9c16c9..798707ebf0b 100644 --- a/usr.bin/tmux/tmux.h +++ b/usr.bin/tmux/tmux.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.h,v 1.505 2015/05/06 23:56:46 nicm Exp $ */ +/* $OpenBSD: tmux.h,v 1.506 2015/05/07 08:08:54 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -35,8 +35,6 @@ #include <stdio.h> #include <termios.h> -#include "array.h" - extern char *__progname; extern char **environ; diff --git a/usr.bin/tmux/window-choose.c b/usr.bin/tmux/window-choose.c index f4c2e82015f..1b297625fbf 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.62 2015/05/04 13:04:10 nicm Exp $ */ +/* $OpenBSD: window-choose.c,v 1.63 2015/05/07 08:08:54 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net> @@ -22,6 +22,7 @@ #include <stdlib.h> #include <string.h> +#include "array.h" #include "tmux.h" struct screen *window_choose_init(struct window_pane *); |