[Mesa-dev] [PATCH 08/13] va: Fix include style
Kai Wasserbäch
kai at dev.carbon-project.org
Sat Aug 27 08:51:54 PDT 2011
As explained in the thread starting at [0], the internal include style
should be »#include "path/to/header.h"« for non-system includes.
[0]
<http://news.gmane.org/find-root.php?message_id=%3c4E5802BE.6020206%40vmware.com%3e>
Signed-off-by: Kai Wasserbäch <kai at dev.carbon-project.org>
---
src/gallium/state_trackers/va/htab.c | 4 ++--
src/gallium/state_trackers/va/va_config.c | 2 +-
src/gallium/state_trackers/va/va_context.c | 12 ++++++------
src/gallium/state_trackers/va/va_image.c | 8 ++++----
src/gallium/state_trackers/va/va_picture.c | 2 +-
src/gallium/state_trackers/va/va_private.h | 4 ++--
src/gallium/state_trackers/va/va_subpicture.c | 2 +-
src/gallium/state_trackers/va/va_surface.c | 4 ++--
8 files changed, 19 insertions(+), 19 deletions(-)
diff --git a/src/gallium/state_trackers/va/htab.c b/src/gallium/state_trackers/va/htab.c
index 40b9eda..0c373c4 100644
--- a/src/gallium/state_trackers/va/htab.c
+++ b/src/gallium/state_trackers/va/htab.c
@@ -25,8 +25,8 @@
*
**************************************************************************/
-#include <util/u_handle_table.h>
-#include <os/os_thread.h>
+#include "util/u_handle_table.h"
+#include "os/os_thread.h"
#include "va_private.h"
diff --git a/src/gallium/state_trackers/va/va_config.c b/src/gallium/state_trackers/va/va_config.c
index 6f1cb78..263f70d 100644
--- a/src/gallium/state_trackers/va/va_config.c
+++ b/src/gallium/state_trackers/va/va_config.c
@@ -28,7 +28,7 @@
#include <va/va.h>
#include <va/va_backend.h>
-#include <util/u_debug.h>
+#include "util/u_debug.h"
#include "va_private.h"
diff --git a/src/gallium/state_trackers/va/va_context.c b/src/gallium/state_trackers/va/va_context.c
index 62ba3d2..ea0782f 100644
--- a/src/gallium/state_trackers/va/va_context.c
+++ b/src/gallium/state_trackers/va/va_context.c
@@ -28,14 +28,14 @@
#include <va/va.h>
#include <va/va_backend.h>
-#include <pipe/p_screen.h>
-#include <pipe/p_screen.h>
-#include <pipe/p_video_decoder.h>
+#include "pipe/p_screen.h"
+#include "pipe/p_screen.h"
+#include "pipe/p_video_decoder.h"
-#include <util/u_debug.h>
-#include <util/u_memory.h>
+#include "util/u_debug.h"
+#include "util/u_memory.h"
-#include <vl_winsys.h>
+#include "vl_winsys.h"
#include "va_private.h"
diff --git a/src/gallium/state_trackers/va/va_image.c b/src/gallium/state_trackers/va/va_image.c
index 43c3a94..0da70b3 100644
--- a/src/gallium/state_trackers/va/va_image.c
+++ b/src/gallium/state_trackers/va/va_image.c
@@ -28,11 +28,11 @@
#include <va/va.h>
#include <va/va_backend.h>
-#include <pipe/p_format.h>
+#include "pipe/p_format.h"
-#include <util/u_memory.h>
-#include <util/u_format.h>
-#include <util/u_debug.h>
+#include "util/u_memory.h"
+#include "util/u_format.h"
+#include "util/u_debug.h"
#include "va_private.h"
diff --git a/src/gallium/state_trackers/va/va_picture.c b/src/gallium/state_trackers/va/va_picture.c
index 3b52a6a..bf7d340 100644
--- a/src/gallium/state_trackers/va/va_picture.c
+++ b/src/gallium/state_trackers/va/va_picture.c
@@ -28,7 +28,7 @@
#include <va/va.h>
#include <va/va_backend.h>
-#include <util/u_debug.h>
+#include "util/u_debug.h"
#include "va_private.h"
diff --git a/src/gallium/state_trackers/va/va_private.h b/src/gallium/state_trackers/va/va_private.h
index f1023db..4261610 100644
--- a/src/gallium/state_trackers/va/va_private.h
+++ b/src/gallium/state_trackers/va/va_private.h
@@ -31,8 +31,8 @@
#include <va/va.h>
#include <va/va_backend.h>
-#include <pipe/p_format.h>
-#include <pipe/p_state.h>
+#include "pipe/p_format.h"
+#include "pipe/p_state.h"
#define VA_DEBUG(_str,...) debug_printf("[Gallium VA backend]: " _str,__VA_ARGS__)
#define VA_INFO(_str,...) VA_DEBUG("INFO: " _str,__VA_ARGS__)
diff --git a/src/gallium/state_trackers/va/va_subpicture.c b/src/gallium/state_trackers/va/va_subpicture.c
index 3f370e5..60b4d02 100644
--- a/src/gallium/state_trackers/va/va_subpicture.c
+++ b/src/gallium/state_trackers/va/va_subpicture.c
@@ -28,7 +28,7 @@
#include <va/va.h>
#include <va/va_backend.h>
-#include <pipe/p_format.h>
+#include "pipe/p_format.h"
#include "va_private.h"
diff --git a/src/gallium/state_trackers/va/va_surface.c b/src/gallium/state_trackers/va/va_surface.c
index b7f9732..6d342af 100644
--- a/src/gallium/state_trackers/va/va_surface.c
+++ b/src/gallium/state_trackers/va/va_surface.c
@@ -27,8 +27,8 @@
#include <va/va.h>
#include <va/va_backend.h>
-#include <util/u_debug.h>
-#include <util/u_memory.h>
+#include "util/u_debug.h"
+#include "util/u_memory.h"
#include "va_private.h"
static enum pipe_video_chroma_format
--
1.7.5.4
More information about the mesa-dev
mailing list