Mesa (master): mesa: Reduce header file inclusion in syncobj.h.

Vinson Lee vlee at kemper.freedesktop.org
Tue Aug 3 06:54:44 UTC 2010


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

Author: Vinson Lee <vlee at vmware.com>
Date:   Mon Aug  2 23:53:23 2010 -0700

mesa: Reduce header file inclusion in syncobj.h.

syncobj.h doesn't use any additional symbols that is added by context.h.

---

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

diff --git a/src/mesa/main/syncobj.h b/src/mesa/main/syncobj.h
index f23fa28..c535119 100644
--- a/src/mesa/main/syncobj.h
+++ b/src/mesa/main/syncobj.h
@@ -31,7 +31,10 @@
 #ifndef SYNCOBJ_H
 #define SYNCOBJ_H
 
-#include "context.h"
+#include "glheader.h"
+#include "mtypes.h"
+
+struct dd_function_table;
 
 extern void
 _mesa_init_sync_object_functions(struct dd_function_table *driver);




More information about the mesa-commit mailing list