aboutsummaryrefslogtreecommitdiffstats
path: root/passes/proc/proc_init.cc
diff options
context:
space:
mode:
Diffstat (limited to 'passes/proc/proc_init.cc')
-rw-r--r--passes/proc/proc_init.cc8
1 files changed, 6 insertions, 2 deletions
diff --git a/passes/proc/proc_init.cc b/passes/proc/proc_init.cc
index c72840c02..dff68159f 100644
--- a/passes/proc/proc_init.cc
+++ b/passes/proc/proc_init.cc
@@ -23,7 +23,10 @@
#include <stdlib.h>
#include <stdio.h>
-static void proc_get_const(RTLIL::SigSpec &sig, RTLIL::CaseRule &rule)
+USING_YOSYS_NAMESPACE
+PRIVATE_NAMESPACE_BEGIN
+
+void proc_get_const(RTLIL::SigSpec &sig, RTLIL::CaseRule &rule)
{
log_assert(rule.compare.size() == 0);
@@ -37,7 +40,7 @@ static void proc_get_const(RTLIL::SigSpec &sig, RTLIL::CaseRule &rule)
}
}
-static void proc_init(RTLIL::Module *mod, RTLIL::Process *proc)
+void proc_init(RTLIL::Module *mod, RTLIL::Process *proc)
{
bool found_init = false;
@@ -109,3 +112,4 @@ struct ProcInitPass : public Pass {
}
} ProcInitPass;
+PRIVATE_NAMESPACE_END