[Mesa-dev] [PATCH 13/13] winsys/g3dvl: Fix include style

Kai Wasserbäch kai at dev.carbon-project.org
Sat Aug 27 08:51:59 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/winsys/g3dvl/dri/dri_winsys.c  |   20 ++++++++++----------
 src/gallium/winsys/g3dvl/vl_winsys.h       |    4 ++--
 src/gallium/winsys/g3dvl/xlib/xsp_winsys.c |   14 +++++++-------
 3 files changed, 19 insertions(+), 19 deletions(-)

diff --git a/src/gallium/winsys/g3dvl/dri/dri_winsys.c b/src/gallium/winsys/g3dvl/dri/dri_winsys.c
index 276731c..aef88f2 100644
--- a/src/gallium/winsys/g3dvl/dri/dri_winsys.c
+++ b/src/gallium/winsys/g3dvl/dri/dri_winsys.c
@@ -25,16 +25,16 @@
  *
  **************************************************************************/
 
-#include <vl_winsys.h>
-#include <driclient.h>
-#include <pipe/p_screen.h>
-#include <pipe/p_context.h>
-#include <pipe/p_state.h>
-#include <util/u_memory.h>
-#include <util/u_hash.h>
-#include <util/u_hash_table.h>
-#include <util/u_inlines.h>
-#include <state_tracker/drm_driver.h>
+#include "vl_winsys.h"
+#include "driclient.h"
+#include "pipe/p_screen.h"
+#include "pipe/p_context.h"
+#include "pipe/p_state.h"
+#include "util/u_memory.h"
+#include "util/u_hash.h"
+#include "util/u_hash_table.h"
+#include "util/u_inlines.h"
+#include "state_tracker/drm_driver.h"
 #include <X11/Xlibint.h>
 
 struct vl_dri_screen
diff --git a/src/gallium/winsys/g3dvl/vl_winsys.h b/src/gallium/winsys/g3dvl/vl_winsys.h
index 384a8ba..2782e51 100644
--- a/src/gallium/winsys/g3dvl/vl_winsys.h
+++ b/src/gallium/winsys/g3dvl/vl_winsys.h
@@ -29,8 +29,8 @@
 #define vl_winsys_h
 
 #include <X11/Xlib.h>
-#include <pipe/p_defines.h>
-#include <pipe/p_format.h>
+#include "pipe/p_defines.h"
+#include "pipe/p_format.h"
 
 struct pipe_screen;
 struct pipe_surface;
diff --git a/src/gallium/winsys/g3dvl/xlib/xsp_winsys.c b/src/gallium/winsys/g3dvl/xlib/xsp_winsys.c
index 92f0bd6..e86d92f 100644
--- a/src/gallium/winsys/g3dvl/xlib/xsp_winsys.c
+++ b/src/gallium/winsys/g3dvl/xlib/xsp_winsys.c
@@ -27,16 +27,16 @@
 
 #include <X11/Xlibint.h>
 
-#include <pipe/p_state.h>
+#include "pipe/p_state.h"
 
-#include <util/u_memory.h>
-#include <util/u_format.h>
-#include <util/u_inlines.h>
+#include "util/u_memory.h"
+#include "util/u_format.h"
+#include "util/u_inlines.h"
 
-#include <state_tracker/xlib_sw_winsys.h>
-#include <softpipe/sp_public.h>
+#include "state_tracker/xlib_sw_winsys.h"
+#include "softpipe/sp_public.h"
 
-#include <vl_winsys.h>
+#include "vl_winsys.h"
 
 struct vl_xsp_screen
 {
-- 
1.7.5.4



More information about the mesa-dev mailing list