Mesa (master): winsys/g3dvl: Fix include style

Brian Paul brianp at kemper.freedesktop.org
Mon Aug 29 07:12:04 PDT 2011


Module: Mesa
Branch: master
Commit: d4e8f384776cb9fefe20e792493642e074e8b229
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d4e8f384776cb9fefe20e792493642e074e8b229

Author: Kai Wasserbäch <kai at dev.carbon-project.org>
Date:   Sat Aug 27 17:51:59 2011 +0200

winsys/g3dvl: Fix include style

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>
Signed-off-by: Brian Paul <brianp at vmware.com>

---

 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
 {



More information about the mesa-commit mailing list