summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2015-05-07 08:08:55 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2015-05-07 08:08:55 +0000
commit2e74448235b519e3016df1ec094e7aea1c4f46be (patch)
tree8ac86c789b2b4261b473e963461f0b30185a496f
parente0be2ca44169d7c09aab4f6862af7179b85d1475 (diff)
array.h can be local to window-choose.c now.
-rw-r--r--usr.bin/tmux/tmux.h4
-rw-r--r--usr.bin/tmux/window-choose.c3
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 *);