Declare vpiPostsim() in a header file

This commit is contained in:
Cary R 2026-02-06 01:57:59 -08:00
parent 8f7b2a23eb
commit e9f26a2f11
2 changed files with 4 additions and 2 deletions

View File

@ -1080,7 +1080,6 @@ vvp_time64_t schedule_simtime(void)
extern void vpiEndOfCompile();
extern void vpiStartOfSim();
extern void vpiPostsim();
extern void vpiNextSimTime(void);
static bool sim_at_rosync = false;

View File

@ -1,7 +1,7 @@
#ifndef IVL_schedule_H
#define IVL_schedule_H
/*
* Copyright (c) 2001-2021 Stephen Williams (steve@icarus.com)
* Copyright (c) 2001-2026 Stephen Williams (steve@icarus.com)
*
* This source code is free software; you can redistribute it
* and/or modify it in source code form under the terms of the GNU
@ -216,4 +216,7 @@ extern unsigned long count_prop_events;
extern unsigned long count_thread_events;
extern unsigned long count_event_pool;
// Run the post simulation callbacks.
extern void vpiPostsim(void);
#endif /* IVL_schedule_H */