From d7234f4d7e373a708e1df9ab565a71b71b189025 Mon Sep 17 00:00:00 2001 From: Anthony Liguori Date: Wed, 17 Mar 2010 17:59:26 -0500 Subject: 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 --- hw/xen_backend.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/xen_backend.h') diff --git a/hw/xen_backend.h b/hw/xen_backend.h index f07f7d4224..991a7b7d54 100644 --- a/hw/xen_backend.h +++ b/hw/xen_backend.h @@ -97,7 +97,7 @@ extern struct XenDevOps xen_netdev_ops; /* xen_nic.c */ void xen_init_display(int domid); /* configuration (aka xenbus setup) */ -void xen_config_cleanup(void); +void xen_config_cleanup(Notifier *notifier); int xen_config_dev_blk(DriveInfo *disk); int xen_config_dev_nic(NICInfo *nic); int xen_config_dev_vfb(int vdev, const char *type); -- cgit 1.4.1