summaryrefslogtreecommitdiffstats
path: root/src/glsl/opt_dead_functions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/opt_dead_functions.cpp')
-rw-r--r--src/glsl/opt_dead_functions.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/glsl/opt_dead_functions.cpp b/src/glsl/opt_dead_functions.cpp
index f503493957b..cd3b2c12e89 100644
--- a/src/glsl/opt_dead_functions.cpp
+++ b/src/glsl/opt_dead_functions.cpp
@@ -32,6 +32,8 @@
#include "ir_expression_flattening.h"
#include "glsl_types.h"
+namespace {
+
class signature_entry : public exec_node
{
public:
@@ -67,6 +69,7 @@ public:
void *mem_ctx;
};
+} /* unnamed namespace */
signature_entry *
ir_dead_functions_visitor::get_signature_entry(ir_function_signature *sig)