From: Blue Swirl Date: Tue, 9 Jun 2009 18:38:51 +0000 (+0000) Subject: Fix Sparse warning X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=b9aaf7f8596df4c286498714e492b2e73fd07b9c;p=qemu.git Fix Sparse warning Signed-off-by: Blue Swirl --- diff --git a/hw/qdev.c b/hw/qdev.c index 689cf4cf93..636dc78e59 100644 --- a/hw/qdev.c +++ b/hw/qdev.c @@ -49,7 +49,7 @@ struct DeviceType { }; /* This is a nasty hack to allow passing a NULL bus to qdev_create. */ -BusState *main_system_bus; +static BusState *main_system_bus; static DeviceType *device_type_list;