Mesa (master): glsl: Remove unused include from glsl_types.cpp
Matt Turner
mattst88 at kemper.freedesktop.org
Tue Jun 10 20:08:08 UTC 2014
Module: Mesa
Branch: master
Commit: 38ffbf459bc7e546c1dd7869b8d365ff26692b85
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=38ffbf459bc7e546c1dd7869b8d365ff26692b85
Author: Thomas Helland <thomashelland90 at gmail.com>
Date: Tue Jun 10 00:57:36 2014 +0200
glsl: Remove unused include from glsl_types.cpp
Found with IWYU. Compile-tested on my Ivy-bridge system.
Added comment about core.h being used for MAX2.
Reviewed-by: Tom Stellard <thomas.stellard at amd.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
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" {
More information about the mesa-commit
mailing list