glsl: Hide many classes local to individual .cpp files in anon namespaces.
[mesa.git] / src / glsl / ir_function_detect_recursion.cpp
index b02c32518ccf679a282fadaa0c8f0909ba39f8fd..5813315b613e1cb7528e67e7e674ab1e758f11f6 100644 (file)
 #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)
 {