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

Vinson Lee vlee at kemper.freedesktop.org
Wed Aug 4 12:30:21 PDT 2010


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

Author: Vinson Lee <vlee at vmware.com>
Date:   Wed Aug  4 12:29:26 2010 -0700

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

Replace mtypes.h with forward declarations.
Include compiler.h for INLINE symbol.

---

 src/mesa/state_tracker/st_cb_drawpixels.h |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/mesa/state_tracker/st_cb_drawpixels.h b/src/mesa/state_tracker/st_cb_drawpixels.h
index 7d5e901..575f169 100644
--- a/src/mesa/state_tracker/st_cb_drawpixels.h
+++ b/src/mesa/state_tracker/st_cb_drawpixels.h
@@ -30,7 +30,10 @@
 #define ST_CB_DRAWPIXELS_H
 
 
-#include "main/mtypes.h"
+#include "main/compiler.h"
+
+struct dd_function_table;
+struct st_context;
 
 #if FEATURE_drawpix
 



More information about the mesa-commit mailing list