Mesa (master): st/mesa: Clean up header file inclusion in st_cb_eglimage.h.

Vinson Lee vlee at kemper.freedesktop.org
Wed Aug 4 20:05:47 UTC 2010


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

Author: Vinson Lee <vlee at vmware.com>
Date:   Wed Aug  4 13:04:36 2010 -0700

st/mesa: Clean up header file inclusion in st_cb_eglimage.h.

Replace dd.h and mtypes.h with a forward declaration.
Include compiler.h for INLINE symbol.

---

 src/mesa/state_tracker/st_cb_eglimage.h |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/mesa/state_tracker/st_cb_eglimage.h b/src/mesa/state_tracker/st_cb_eglimage.h
index d6953e9..b6e44d5 100644
--- a/src/mesa/state_tracker/st_cb_eglimage.h
+++ b/src/mesa/state_tracker/st_cb_eglimage.h
@@ -29,8 +29,9 @@
 #ifndef ST_CB_EGLIMAGE_H
 #define ST_CB_EGLIMAGE_H
 
-#include "main/mtypes.h"
-#include "main/dd.h"
+#include "main/compiler.h"
+
+struct dd_function_table;
 
 #if FEATURE_OES_EGL_image
 




More information about the mesa-commit mailing list