mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
Convert atexit users to exit_notifier
All of these users have global state so we really don't see a benefit from exit_notifier. However, using exit_notifier means that there's one less justification for having global state in the first place. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
3b6304f706
commit
d7234f4d7e
8 changed files with 26 additions and 12 deletions
|
@ -17,7 +17,7 @@ static void xen_config_cleanup_dir(char *dir)
|
|||
QTAILQ_INSERT_TAIL(&xs_cleanup, d, list);
|
||||
}
|
||||
|
||||
void xen_config_cleanup(void)
|
||||
void xen_config_cleanup(Notifier *notifier)
|
||||
{
|
||||
struct xs_dirs *d;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue