From a9e3d5c56aa515a4a63212ced6433f4612f62e57 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Thu, 25 Jun 2009 16:47:00 +0000 Subject: More diff-to-OpenBSD reduction. Move a lot of compat stuff into compat.h. --- window.c | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) (limited to 'window.c') diff --git a/window.c b/window.c index 4e917488..240a5ffa 100644 --- a/window.c +++ b/window.c @@ -1,4 +1,4 @@ -/* $Id: window.c,v 1.84 2009-06-25 16:21:32 nicm Exp $ */ +/* $Id: window.c,v 1.85 2009-06-25 16:47:00 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -31,22 +31,6 @@ #include "tmux.h" -#ifdef HAVE_PATHS_H -#include -#endif - -#ifdef HAVE_FORKPTY -#ifdef HAVE_LIBUTIL_H -#include -#endif -#ifdef HAVE_PTY_H -#include -#endif -#ifdef HAVE_UTIL_H -#include -#endif -#endif - /* * Each window is attached to one or two panes, each of which is a pty. This * file contains code to handle them. @@ -586,7 +570,7 @@ window_pane_mouse( } else input_mouse(wp, b, x, y); } - + char * window_pane_search(struct window_pane *wp, const char *searchstr, u_int *lineno) { -- cgit