diff --git a/vvp/compile.cc b/vvp/compile.cc index a9126a3d0..69fba01ee 100644 --- a/vvp/compile.cc +++ b/vvp/compile.cc @@ -67,7 +67,7 @@ enum operand_e { /* The operand is a second functor pointer */ OA_FUNC_PTR2, /* The operand is a VPI handle */ - OA_VPI_PTR, + OA_VPI_PTR }; struct opcode_table_s { diff --git a/vvp/schedule.cc b/vvp/schedule.cc index 237b502e9..68e0c06aa 100644 --- a/vvp/schedule.cc +++ b/vvp/schedule.cc @@ -519,7 +519,7 @@ bool schedule_stopped(void) * These are the signal handling infrastructure. The SIGINT signal * leads to an implicit $stop. */ -static void signals_handler(int) +extern "C" void signals_handler(int) { schedule_stopped_flag = true; }