Mesa (master): tests/unit: Fix include style

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


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

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

tests/unit: 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/tests/unit/translate_test.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/gallium/tests/unit/translate_test.c b/src/gallium/tests/unit/translate_test.c
index 2976fb7..b9e7e25 100644
--- a/src/gallium/tests/unit/translate_test.c
+++ b/src/gallium/tests/unit/translate_test.c
@@ -24,11 +24,11 @@
  **************************************************************************/
 
 #include <stdio.h>
-#include <translate/translate.h>
-#include <util/u_memory.h>
-#include <util/u_format.h>
-#include <util/u_cpu_detect.h>
-#include <rtasm/rtasm_cpu.h>
+#include "translate/translate.h"
+#include "util/u_memory.h"
+#include "util/u_format.h"
+#include "util/u_cpu_detect.h"
+#include "rtasm/rtasm_cpu.h"
 
 /* don't use this for serious use */
 static double rand_double()



More information about the mesa-commit mailing list