Fix some compile issues
This commit is contained in:
parent
d42f97ecbe
commit
5c9ec105d9
|
|
@ -546,7 +546,7 @@ static void display_multi_driver_error(ivl_nexus_t nex, unsigned ndrivers,
|
||||||
static ivl_nexus_ptr_t *drivers = 0x0;
|
static ivl_nexus_ptr_t *drivers = 0x0;
|
||||||
static unsigned adrivers = 0;
|
static unsigned adrivers = 0;
|
||||||
|
|
||||||
void EOC_cleanup_drivers()
|
void EOC_cleanup_drivers(void)
|
||||||
{
|
{
|
||||||
free(drivers);
|
free(drivers);
|
||||||
drivers = NULL;
|
drivers = NULL;
|
||||||
|
|
|
||||||
|
|
@ -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 <stephan@nevis.columbia.edu>
|
* Copyright (c) 2001 Stephan Boettcher <stephan@nevis.columbia.edu>
|
||||||
*
|
*
|
||||||
* This source code is free software; you can redistribute it
|
* 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)
|
static void thread_word_delete_real(vpiHandle item)
|
||||||
{
|
{
|
||||||
struct __vpiVThrWord*obj = dynamic_cast<__vpiVThrWord*>(item);
|
class __vpiVThrWord*obj = dynamic_cast<__vpiVThrWord*>(item);
|
||||||
delete obj;
|
delete obj;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue