aboutsummaryrefslogtreecommitdiffstats
path: root/libs
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2014-07-31 13:19:47 +0200
committerClifford Wolf <clifford@clifford.at>2014-07-31 13:19:47 +0200
commit1cb25c05b37b0172dbc50e140fe20f25d973dd8a (patch)
tree4bccb9f45ccad05346697c79afca9a1b21dced9c /libs
parent1202f7aa4bb0f9afde157ebc4701d64e7e38abd8 (diff)
downloadyosys-1cb25c05b37b0172dbc50e140fe20f25d973dd8a.tar.gz
yosys-1cb25c05b37b0172dbc50e140fe20f25d973dd8a.tar.bz2
yosys-1cb25c05b37b0172dbc50e140fe20f25d973dd8a.zip
Moved some stuff to kernel/yosys.{h,cc}, using Yosys:: namespace
Diffstat (limited to 'libs')
-rw-r--r--libs/subcircuit/subcircuit.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/subcircuit/subcircuit.cc b/libs/subcircuit/subcircuit.cc
index da2638792..84f23d636 100644
--- a/libs/subcircuit/subcircuit.cc
+++ b/libs/subcircuit/subcircuit.cc
@@ -26,8 +26,8 @@
#include <stdio.h>
#ifdef _YOSYS_
-# include "kernel/log.h"
-# define my_printf log
+# include "kernel/yosys.h"
+# define my_printf YOSYS_NAMESPACE_PREFIX log
#else
# define my_printf printf
#endif