diff --git a/tgt-pcb/scope.cc b/tgt-pcb/scope.cc index 0ea50a995..d9ae6a0cc 100644 --- a/tgt-pcb/scope.cc +++ b/tgt-pcb/scope.cc @@ -86,7 +86,7 @@ int scan_scope(ivl_scope_t scope) return 0; } -static int child_scan_fun(ivl_scope_t scope, void*) +extern "C" int child_scan_fun(ivl_scope_t scope, void*) { int rc = scan_scope(scope); return 0;