# HG changeset patch
# User Heidi Eckhart <heidieck(a)linux.vnet.ibm.com>
# Date 1202208799 -3600
# Node ID 4bab53fec75afc0e3efdf25fbfcaa4a668182d71
# Parent ca631d19373b61f60e83eddc4be4ca4176653647
SD: fix stale issue with threads
Signed-off-by: Heidi Eckhart <heidieck(a)linux.vnet.ibm.com>
diff -r ca631d19373b -r 4bab53fec75a src/Virt_SystemDevice.c
--- a/src/Virt_SystemDevice.c Tue Feb 05 11:53:18 2008 +0100
+++ b/src/Virt_SystemDevice.c Tue Feb 05 11:53:19 2008 +0100
@@ -210,13 +210,13 @@ static CMPIStatus dev_to_sys(const CMPIO
LIBVIRT_CIM_DEFAULT_MAKEREF()
-char* group_component[] = {
+static char* group_component[] = {
"Xen_ComputerSystem",
"KVM_ComputerSystem",
NULL
};
-char* part_component[] = {
+static char* part_component[] = {
"Xen_Processor",
"Xen_Memory",
"Xen_NetworkPort",
@@ -228,7 +228,7 @@ char* part_component[] = {
NULL
};
-char* assoc_classname[] = {
+static char* assoc_classname[] = {
"Xen_SystemDevice",
"KVM_SystemDevice",
NULL