From: Blue Swirl Date: Tue, 9 Jun 2009 18:38:51 +0000 (+0000) Subject: Fix Sparse warning X-Git-Tag: v0.11.0-rc0~442 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b9aaf7f8596df4c286498714e492b2e73fd07b9c;p=thirdparty%2Fqemu.git Fix Sparse warning Signed-off-by: Blue Swirl --- diff --git a/hw/qdev.c b/hw/qdev.c index 689cf4cf930..636dc78e599 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;