projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cec9fac
)
Fix Sparse warning
author
Blue Swirl
<blauwirbel@gmail.com>
Tue, 9 Jun 2009 18:38:51 +0000
(18:38 +0000)
committer
Blue 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
patch
|
blob
|
history
diff --git
a/hw/qdev.c
b/hw/qdev.c
index 689cf4cf930eac41edaac8e1e984c8ff68909e66..636dc78e599bc1c51f257be69e99ea601a5c24fd 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;