qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [COMMIT b9aaf7f] Fix Sparse warning


From: Anthony Liguori
Subject: [Qemu-commits] [COMMIT b9aaf7f] Fix Sparse warning
Date: Tue, 09 Jun 2009 18:42:31 -0000

From: Blue Swirl <address@hidden>

Signed-off-by: Blue Swirl <address@hidden>

diff --git a/hw/qdev.c b/hw/qdev.c
index 689cf4c..636dc78 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;
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]