aboutsummaryrefslogtreecommitdiffstats
path: root/passes/proc/proc_rmdead.cc
diff options
context:
space:
mode:
Diffstat (limited to 'passes/proc/proc_rmdead.cc')
-rw-r--r--passes/proc/proc_rmdead.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/passes/proc/proc_rmdead.cc b/passes/proc/proc_rmdead.cc
index fe3532da8..d701f00a5 100644
--- a/passes/proc/proc_rmdead.cc
+++ b/passes/proc/proc_rmdead.cc
@@ -25,7 +25,10 @@
#include <stdio.h>
#include <set>
-static void proc_rmdead(RTLIL::SwitchRule *sw, int &counter)
+USING_YOSYS_NAMESPACE
+PRIVATE_NAMESPACE_BEGIN
+
+void proc_rmdead(RTLIL::SwitchRule *sw, int &counter)
{
BitPatternPool pool(sw->signal);
@@ -98,3 +101,4 @@ struct ProcRmdeadPass : public Pass {
}
} ProcRmdeadPass;
+PRIVATE_NAMESPACE_END