projects
/
qemu
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix Sparse warning
[qemu]
/
hw
/
qdev.c
diff --git
a/hw/qdev.c
b/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;