aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornicm <nicm>2015-05-07 08:08:54 +0000
committernicm <nicm>2015-05-07 08:08:54 +0000
commit1282bb81fe9fbb1b2ff1b63a9c4e8978444703c4 (patch)
treeb843a85a70d447be95a9c665553ca05eaca88d72
parent7becf326e3b756016f2df6230db9fcf714d44955 (diff)
downloadrtmux-1282bb81fe9fbb1b2ff1b63a9c4e8978444703c4.tar.gz
rtmux-1282bb81fe9fbb1b2ff1b63a9c4e8978444703c4.tar.bz2
rtmux-1282bb81fe9fbb1b2ff1b63a9c4e8978444703c4.zip
array.h can be local to window-choose.c now.
-rw-r--r--tmux.h2
-rw-r--r--window-choose.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/tmux.h b/tmux.h
index 9783a65f..72e172e6 100644
--- a/tmux.h
+++ b/tmux.h
@@ -35,8 +35,6 @@
#include <stdio.h>
#include <termios.h>
-#include "array.h"
-
extern char *__progname;
extern char **environ;
diff --git a/window-choose.c b/window-choose.c
index 8672212a..d4b20bca 100644
--- a/window-choose.c
+++ b/window-choose.c
@@ -22,6 +22,7 @@
#include <stdlib.h>
#include <string.h>
+#include "array.h"
#include "tmux.h"
struct screen *window_choose_init(struct window_pane *);