[Mesa-dev] [PATCH 05/11] glsl: Remove unused include from glsl_types.cpp
thomashelland90 at gmail.com
thomashelland90 at gmail.com
Mon Jun 9 15:57:36 PDT 2014
From: Thomas Helland <thomashelland90 at gmail.com>
Found with IWYU. Compile-tested on my Ivy-bridge system.
Added comment about core.h being used for MAX2.
Signed-off-by: Thomas Helland <thomashelland90 at gmail.com>
---
src/glsl/glsl_types.cpp | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/glsl/glsl_types.cpp b/src/glsl/glsl_types.cpp
index e77146c..62a9087 100644
--- a/src/glsl/glsl_types.cpp
+++ b/src/glsl/glsl_types.cpp
@@ -22,9 +22,7 @@
*/
#include <stdio.h>
-#include <stdlib.h>
-#include "main/core.h" /* for Elements */
-#include "glsl_symbol_table.h"
+#include "main/core.h" /* for Elements, MAX2 */
#include "glsl_parser_extras.h"
#include "glsl_types.h"
extern "C" {
--
2.0.0
More information about the mesa-dev
mailing list