More diff-to-OpenBSD reduction. Move a lot of compat stuff into compat.h.

This commit is contained in:
Nicholas Marriott
2009-06-25 16:47:00 +00:00
parent bb459beb03
commit a9e3d5c56a
9 changed files with 222 additions and 184 deletions

View File

@ -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 <nicm@users.sourceforge.net>
@ -31,22 +31,6 @@
#include "tmux.h"
#ifdef HAVE_PATHS_H
#include <paths.h>
#endif
#ifdef HAVE_FORKPTY
#ifdef HAVE_LIBUTIL_H
#include <libutil.h>
#endif
#ifdef HAVE_PTY_H
#include <pty.h>
#endif
#ifdef HAVE_UTIL_H
#include <util.h>
#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)
{