Mesa (master): st/dri: organize order of includers in dri_helpers

Emil Velikov evelikov at kemper.freedesktop.org
Mon Aug 7 17:24:58 UTC 2017


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

Author: Gurchetan Singh <gurchetansingh at chromium.org>
Date:   Thu Jul 27 20:48:08 2017 -0700

st/dri: organize order of includers in dri_helpers

Although it doesn't seem like a strict requirement of the
code base, we do it when possible and it looks nice.

Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>

---

 src/gallium/state_trackers/dri/dri_helpers.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/gallium/state_trackers/dri/dri_helpers.c b/src/gallium/state_trackers/dri/dri_helpers.c
index b3a2cb78f9..96c92e2e8d 100644
--- a/src/gallium/state_trackers/dri/dri_helpers.c
+++ b/src/gallium/state_trackers/dri/dri_helpers.c
@@ -21,10 +21,11 @@
  */
 
 #include <dlfcn.h>
+#include "util/u_memory.h"
+#include "pipe/p_screen.h"
+
 #include "dri_context.h"
 #include "dri_screen.h"
-#include "pipe/p_screen.h"
-#include "util/u_memory.h"
 
 static bool
 dri2_is_opencl_interop_loaded_locked(struct dri_screen *screen)




More information about the mesa-commit mailing list