From 315aeed8a2b9fdbe97e10c0e20c6c88c450143db Mon Sep 17 00:00:00 2001 From: xver Date: Sun, 12 Sep 2021 15:07:10 -0400 Subject: [PATCH] upadate: c++ namespaces no extern "C" --- utils/sc/src/shunt_tlm.h | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/utils/sc/src/shunt_tlm.h b/utils/sc/src/shunt_tlm.h index 2fc6963..b08e337 100644 --- a/utils/sc/src/shunt_tlm.h +++ b/utils/sc/src/shunt_tlm.h @@ -21,17 +21,16 @@ namespace shunt_tlm { - extern "C" { + +using namespace sc_core; +using namespace sc_dt; +using namespace std; +using namespace tlm; + #include "shunt_primitives.c" #include "shunt_client_server.c" #include "shunt_user_api.c" - } - - using namespace sc_core; - using namespace sc_dt; - using namespace std; - using namespace tlm; - + /* TLM Enumerations: enum tlm_sync_enum { TLM_ACCEPTED, TLM_UPDATED, TLM_COMPLETED }