Mesa (master): include/pipe: Fix include style

Brian Paul brianp at kemper.freedesktop.org
Mon Aug 29 14:12:04 UTC 2011


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

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

include/pipe: 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/include/pipe/p_video_decoder.h |    2 +-
 src/gallium/include/pipe/p_video_state.h   |   10 +++++-----
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/gallium/include/pipe/p_video_decoder.h b/src/gallium/include/pipe/p_video_decoder.h
index 2aa4001..31e411c 100644
--- a/src/gallium/include/pipe/p_video_decoder.h
+++ b/src/gallium/include/pipe/p_video_decoder.h
@@ -32,7 +32,7 @@
 extern "C" {
 #endif
 
-#include <pipe/p_video_state.h>
+#include "pipe/p_video_state.h"
 
 struct pipe_screen;
 struct pipe_surface;
diff --git a/src/gallium/include/pipe/p_video_state.h b/src/gallium/include/pipe/p_video_state.h
index f655ed4..e808700 100644
--- a/src/gallium/include/pipe/p_video_state.h
+++ b/src/gallium/include/pipe/p_video_state.h
@@ -28,11 +28,11 @@
 #ifndef PIPE_VIDEO_STATE_H
 #define PIPE_VIDEO_STATE_H
 
-#include <pipe/p_defines.h>
-#include <pipe/p_format.h>
-#include <pipe/p_state.h>
-#include <pipe/p_screen.h>
-#include <util/u_inlines.h>
+#include "pipe/p_defines.h"
+#include "pipe/p_format.h"
+#include "pipe/p_state.h"
+#include "pipe/p_screen.h"
+#include "util/u_inlines.h"
 
 #ifdef __cplusplus
 extern "C" {




More information about the mesa-commit mailing list