summaryrefslogtreecommitdiffstats
path: root/src/glsl/ir_function_detect_recursion.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/ir_function_detect_recursion.cpp')
-rw-r--r--src/glsl/ir_function_detect_recursion.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/glsl/ir_function_detect_recursion.cpp b/src/glsl/ir_function_detect_recursion.cpp
index b02c32518cc..5813315b613 100644
--- a/src/glsl/ir_function_detect_recursion.cpp
+++ b/src/glsl/ir_function_detect_recursion.cpp
@@ -127,6 +127,8 @@
#include "program/hash_table.h"
#include "program.h"
+namespace {
+
struct call_node : public exec_node {
class function *func;
};
@@ -222,6 +224,8 @@ public:
bool progress;
};
+} /* anonymous namespace */
+
static void
destroy_links(exec_list *list, function *f)
{