Fix Sparse warning
authorBlue Swirl <blauwirbel@gmail.com>
Tue, 9 Jun 2009 18:38:51 +0000 (18:38 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Tue, 9 Jun 2009 18:38:51 +0000 (18:38 +0000)
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
hw/qdev.c

index 689cf4c..636dc78 100644 (file)
--- 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;