diff --git a/tgt-vvp/draw_net_input.c b/tgt-vvp/draw_net_input.c index 2a078bb71..6e4859f89 100644 --- a/tgt-vvp/draw_net_input.c +++ b/tgt-vvp/draw_net_input.c @@ -546,7 +546,7 @@ static void display_multi_driver_error(ivl_nexus_t nex, unsigned ndrivers, static ivl_nexus_ptr_t *drivers = 0x0; static unsigned adrivers = 0; -void EOC_cleanup_drivers() +void EOC_cleanup_drivers(void) { free(drivers); drivers = NULL; diff --git a/vvp/vpi_vthr_vector.cc b/vvp/vpi_vthr_vector.cc index b57ef8b69..ebaf42dd2 100644 --- a/vvp/vpi_vthr_vector.cc +++ b/vvp/vpi_vthr_vector.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2021 Stephen Williams (steve@icarus.com) + * Copyright (c) 2001-2024 Stephen Williams (steve@icarus.com) * Copyright (c) 2001 Stephan Boettcher * * This source code is free software; you can redistribute it @@ -218,7 +218,7 @@ void thread_word_delete(vpiHandle item) static void thread_word_delete_real(vpiHandle item) { - struct __vpiVThrWord*obj = dynamic_cast<__vpiVThrWord*>(item); + class __vpiVThrWord*obj = dynamic_cast<__vpiVThrWord*>(item); delete obj; } #endif