From patchwork Mon Jul 16 14:02:47 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Wiederhake X-Patchwork-Id: 1201081 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by patchwork1.kernel.org (Postfix) with ESMTP id 0C25B3FC33 for ; Mon, 16 Jul 2012 14:31:41 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 03C819F748 for ; Mon, 16 Jul 2012 07:31:41 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.23]) by gabe.freedesktop.org (Postfix) with SMTP id 281369F72F for ; Mon, 16 Jul 2012 07:29:31 -0700 (PDT) Received: (qmail invoked by alias); 16 Jul 2012 14:02:57 -0000 Received: from host-188-174-209-55.customer.m-online.net (EHLO localhost.localdomain) [188.174.209.55] by mail.gmx.net (mp031) with SMTP; 16 Jul 2012 16:02:57 +0200 X-Authenticated: #57610014 X-Provags-ID: V01U2FsdGVkX18L/Os15JoL7O+A1hzQ5KvduCwF5waJqgWdOdg7om JaXaNojkwmfMt1 From: Tim Wiederhake To: dri-devel@lists.freedesktop.org Subject: [PATCH 3/8] Cleanup includes Date: Mon, 16 Jul 2012 16:02:47 +0200 Message-Id: <1342447372-21742-3-git-send-email-twied@gmx.net> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1342447372-21742-1-git-send-email-twied@gmx.net> References: <1342447372-21742-1-git-send-email-twied@gmx.net> X-Y-GMX-Trusted: 0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Errors-To: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org --- intel/intel_bufmgr_gem.c | 4 ++-- tests/kmstest/main.c | 3 ++- tests/modetest/modetest.c | 2 +- tests/ttmtest/src/ttmtest.c | 6 +++--- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/intel/intel_bufmgr_gem.c b/intel/intel_bufmgr_gem.c index 57319fb..28f8887 100644 --- a/intel/intel_bufmgr_gem.c +++ b/intel/intel_bufmgr_gem.c @@ -40,6 +40,7 @@ #include #include +#include #include #include #include @@ -53,13 +54,12 @@ #include #include -#include "errno.h" #include "libdrm_lists.h" #include "intel_bufmgr.h" #include "intel_bufmgr_priv.h" #include "intel_chipset.h" #include "intel_aub.h" -#include "string.h" + #include "i915_drm.h" diff --git a/tests/kmstest/main.c b/tests/kmstest/main.c index 5df0a38..616162d 100644 --- a/tests/kmstest/main.c +++ b/tests/kmstest/main.c @@ -26,10 +26,11 @@ **************************************************************************/ +#include #include #include #include "xf86drm.h" -#include "libkms.h" + #define CHECK_RET_RETURN(ret, str) \ if (ret < 0) { \ diff --git a/tests/modetest/modetest.c b/tests/modetest/modetest.c index ec3121e..dff40d1 100644 --- a/tests/modetest/modetest.c +++ b/tests/modetest/modetest.c @@ -40,6 +40,7 @@ #include "config.h" #include +#include #include #include #include @@ -53,7 +54,6 @@ #include "xf86drm.h" #include "xf86drmMode.h" #include "drm_fourcc.h" -#include "libkms.h" #ifdef HAVE_CAIRO #include diff --git a/tests/ttmtest/src/ttmtest.c b/tests/ttmtest/src/ttmtest.c index c94e940..59e9623 100644 --- a/tests/ttmtest/src/ttmtest.c +++ b/tests/ttmtest/src/ttmtest.c @@ -39,13 +39,13 @@ #include #include "xf86dri.h" #include "xf86drm.h" -#include "stdio.h" -#include "sys/types.h" +#include +#include #include #include #include #include -#include "sys/mman.h" +#include typedef struct {